Feat(mailing): Add support for multiple recipients and fix some typos in mails #191
Annotations
10 errors
🔎 Test:
src/tests/supabase/functions/postmark.spec.ts#L19
AssertionError: expected [ { firstName: 'Firstname', …(3) } ] to deeply equal { firstName: 'Firstname', …(3) }
- Expected:
Object {
"domain": "marmelab.com",
"email": "firstname.lastname@marmelab.com",
"firstName": "Firstname",
"lastName": "Lastname",
}
+ Received:
Array [
Object {
"domain": "marmelab.com",
"email": "firstname.lastname@marmelab.com",
"firstName": "Firstname",
"lastName": "Lastname",
},
]
❯ src/tests/supabase/functions/postmark.spec.ts:19:24
|
🔎 Test:
src/tests/supabase/functions/postmark.spec.ts#L38
AssertionError: expected [ …(2) ] to deeply equal { firstName: 'Firstname', …(3) }
- Expected:
Object {
"domain": "marmelab.com",
"email": "firstname.lastname@marmelab.com",
"firstName": "Firstname",
"lastName": "Lastname",
}
+ Received:
Array [
Object {
"domain": "marmelab.com",
"email": "firstname.lastname@marmelab.com",
"firstName": "Firstname",
"lastName": "Lastname",
},
Object {
"domain": "marmelab.com",
"email": "john.doe@marmelab.com",
"firstName": "John",
"lastName": "Doe",
},
]
❯ src/tests/supabase/functions/postmark.spec.ts:38:24
|
🔎 Test:
src/tests/supabase/functions/postmark.spec.ts#L53
AssertionError: expected [ { firstName: '', …(3) } ] to deeply equal { firstName: '', …(3) }
- Expected:
Object {
"domain": "marmelab.com",
"email": "name@marmelab.com",
"firstName": "",
"lastName": "Name",
}
+ Received:
Array [
Object {
"domain": "marmelab.com",
"email": "name@marmelab.com",
"firstName": "",
"lastName": "Name",
},
]
❯ src/tests/supabase/functions/postmark.spec.ts:53:24
|
🔎 Test:
src/tests/supabase/functions/postmark.spec.ts#L68
AssertionError: expected [ { firstName: 'Multi', …(3) } ] to deeply equal { firstName: 'Multi', …(3) }
- Expected:
Object {
"domain": "marmelab.com",
"email": "multi.word.name@marmelab.com",
"firstName": "Multi",
"lastName": "Word Name",
}
+ Received:
Array [
Object {
"domain": "marmelab.com",
"email": "multi.word.name@marmelab.com",
"firstName": "Multi",
"lastName": "Word Name",
},
]
❯ src/tests/supabase/functions/postmark.spec.ts:68:24
|
🔎 Test:
src/tests/supabase/functions/postmark.spec.ts#L84
AssertionError: expected [ { firstName: 'John', …(3) } ] to deeply equal { firstName: 'John', …(3) }
- Expected:
Object {
"domain": "marmelab.com",
"email": "\"john@doe\"@marmelab.com",
"firstName": "John",
"lastName": "Doe",
}
+ Received:
Array [
Object {
"domain": "marmelab.com",
"email": "\"john@doe\"@marmelab.com",
"firstName": "John",
"lastName": "Doe",
},
]
❯ src/tests/supabase/functions/postmark.spec.ts:84:24
|
🔎 Test:
src/tests/supabase/functions/postmark.spec.ts#L99
AssertionError: expected [ { firstName: 'john', …(3) } ] to deeply equal { firstName: 'john', …(3) }
- Expected:
Object {
"domain": "marmelab.com",
"email": "john.doe@marmelab.com",
"firstName": "john",
"lastName": "doe",
}
+ Received:
Array [
Object {
"domain": "marmelab.com",
"email": "john.doe@marmelab.com",
"firstName": "john",
"lastName": "doe",
},
]
❯ src/tests/supabase/functions/postmark.spec.ts:99:24
|
🔎 Test:
src/tests/supabase/functions/postmark.spec.ts#L114
AssertionError: expected [ { firstName: '', …(3) } ] to deeply equal { firstName: '', …(3) }
- Expected:
Object {
"domain": "marmelab.com",
"email": "john@marmelab.com",
"firstName": "",
"lastName": "john",
}
+ Received:
Array [
Object {
"domain": "marmelab.com",
"email": "john@marmelab.com",
"firstName": "",
"lastName": "john",
},
]
❯ src/tests/supabase/functions/postmark.spec.ts:114:24
|
🔎 Test:
src/tests/supabase/functions/postmark.spec.ts#L129
AssertionError: expected [ { firstName: 'john', …(3) } ] to deeply equal { firstName: 'john', …(3) }
- Expected:
Object {
"domain": "marmelab.com",
"email": "john.doe.multi@marmelab.com",
"firstName": "john",
"lastName": "doe multi",
}
+ Received:
Array [
Object {
"domain": "marmelab.com",
"email": "john.doe.multi@marmelab.com",
"firstName": "john",
"lastName": "doe multi",
},
]
❯ src/tests/supabase/functions/postmark.spec.ts:129:24
|
🔎 Test:
src/tests/supabase/functions/postmark.spec.ts#L145
AssertionError: expected [ { firstName: '"john', …(3) } ] to deeply equal { firstName: '"john', …(3) }
- Expected:
Object {
"domain": "marmelab.com",
"email": "\"john@doe\"@marmelab.com",
"firstName": "\"john",
"lastName": "doe\"",
}
+ Received:
Array [
Object {
"domain": "marmelab.com",
"email": "\"john@doe\"@marmelab.com",
"firstName": "\"john",
"lastName": "doe\"",
},
]
❯ src/tests/supabase/functions/postmark.spec.ts:145:24
|
🔎 Test
Process completed with exit code 2.
|
Loading