mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Fix test of 'sendEmailTranslated'
This commit is contained in:
parent
17e0cbb15c
commit
7eefdd2843
@ -79,15 +79,15 @@ describe('sendEmailTranslated', () => {
|
||||
})
|
||||
|
||||
describe('call of "sendEmailTranslated"', () => {
|
||||
it('has result', () => {
|
||||
it('has expected result', () => {
|
||||
expect(result).toMatchObject({
|
||||
envelope: {
|
||||
from: 'info@gradido.net',
|
||||
to: ['stage1@gradido.net', 'support@gradido.net'],
|
||||
to: ['receiver@mail.org', 'support@gradido.net'],
|
||||
},
|
||||
message: expect.any(String),
|
||||
originalMessage: expect.objectContaining({
|
||||
to: 'stage1@gradido.net',
|
||||
to: 'receiver@mail.org',
|
||||
cc: 'support@gradido.net',
|
||||
from: 'Gradido (nicht antworten) <info@gradido.net>',
|
||||
attachments: [],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user