Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
meghein committed Jan 23, 2024
1 parent 0125e2d commit dd72c54
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,25 @@ const testHtml =
'</html>\n'

const testMessage = {
to: '[email protected]',
from: '[email protected]',
to: '[email protected]',
subject: 'This is a plain text subject',
replyTo: '[email protected]',
cc: '[email protected]',
bcc: '[email protected]',
replyTo: '[email protected]',
subject: 'This is a plain text subject',
html: testHtml,
text: 'This is a plain text email message.',
attachments: [
{
filename: 'text1.txt',
content: 'hello world!'
}
]
text: 'This is a plain text email message.'
}

const responseWhenTemplatesPresent = {
to: '[email protected]',
from: '[email protected]',
to: '[email protected]',
subject: 'This is a plain text subject',
replyTo: '[email protected]',
cc: '[email protected]',
bcc: '[email protected]',
replyTo: '[email protected]',
subject: 'This is a plain text subject',
html: testHtml,
text: 'This is a test text message to Test Name',
attachments: [
{
filename: 'text1.txt',
content: 'hello world!'
}
]
text: 'This is a test text message to Test Name'
}

test('mail, nodemailer & view decorators exist', async ({ teardown, ok }) => {
Expand Down

0 comments on commit dd72c54

Please sign in to comment.