-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
2 changed files
with
2 additions
and
4 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
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 |
---|---|---|
|
@@ -404,8 +404,7 @@ describe('ApiMailAdapter', () => { | |
}); | ||
|
||
describe('convert ZeptoMail API v1.1 payload', () => { | ||
|
||
it('converts single recepient payload for ZeptoMail', () => { | ||
it('converts single recipient payload', () => { | ||
const payload = converter.zeptomail({ api: '1.1', payload: examplePayload}); | ||
expect(payload.from.address).toEqual(examplePayload.from); | ||
expect(payload.to).toBeInstanceOf(Array); | ||
|
@@ -419,7 +418,7 @@ describe('ApiMailAdapter', () => { | |
expect(payload.htmlbody).toBe(examplePayload.html); | ||
}); | ||
|
||
it('converts multiple recepients payload for ZeptoMail', () => { | ||
it('converts multiple recipients payload', () => { | ||
const examplePayload = { | ||
from: "[email protected]", | ||
to: "[email protected],[email protected]", | ||
|