-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }) => { | ||
|