Skip to content

Commit

Permalink
added more tests regarding plain text attachments and messages
Browse files Browse the repository at this point in the history
  • Loading branch information
muratgozel committed Jun 3, 2023
1 parent 767cc46 commit a3417d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mimetext",
"version": "v3.0.12",
"version": "v3.0.13",
"description": "RFC 2822 compliant raw email message generator written in node.js",
"type": "module",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions tests/MIMEText.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ test('sends an html email with plain text attachment using aws-sdk v2', async ()
expect(result.MessageId.length).toBeGreaterThan(1)
})

test('sends only an attachment, without content using aws-sdk v2', async () => {
test('sends only a plain text attachment, without content using aws-sdk v2', async () => {
const ses = new SESv2Client({region: process.env.AWS_REGION})
const msg = createMimeMessage()
msg.setSender(process.env.FROM)
Expand Down Expand Up @@ -273,7 +273,7 @@ test('sends only an attachment, without content using aws-sdk v2', async () => {
expect(result.MessageId.length).toBeGreaterThan(1)
})

test('sends an html email with plain text attachment using aws-sdk v2', async () => {
test('sends an plain text email with a plain text attachment using aws-sdk v2', async () => {
const ses = new SESv2Client({region: process.env.AWS_REGION})
const msg = createMimeMessage()
msg.setSender(process.env.FROM)
Expand Down

0 comments on commit a3417d4

Please sign in to comment.