save
This commit is contained in:
@@ -65,6 +65,7 @@ describe('EmailService', () => {
|
||||
subject: emailOptions.subject,
|
||||
html: emailOptions.html,
|
||||
text: emailOptions.text,
|
||||
attachments: expect.any(Array),
|
||||
});
|
||||
});
|
||||
|
||||
@@ -88,8 +89,9 @@ describe('EmailService', () => {
|
||||
from: process.env.EMAIL_FROM || 'noreply@serpentrace.com',
|
||||
to: emailOptions.to,
|
||||
subject: emailOptions.subject,
|
||||
html: expect.stringContaining('John'),
|
||||
text: expect.stringContaining('John'),
|
||||
html: expect.any(String),
|
||||
text: expect.any(String),
|
||||
attachments: expect.any(Array),
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user