This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from netlify/ljt/better-logging-of-progress
- Loading branch information
Showing
3 changed files
with
30 additions
and
14 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 |
---|---|---|
|
@@ -352,7 +352,7 @@ describe("Email handler", () => { | |
|
||
expect(response).toEqual({ | ||
statusCode: 200, | ||
body: expect.stringContaining("Email successfully sent with sendgrid"), | ||
body: expect.stringContaining("Email sent successfully using sendgrid"), | ||
}); | ||
expect(mockSendgridSend).toHaveBeenCalledWith({ | ||
from: "[email protected]", | ||
|
@@ -385,7 +385,7 @@ describe("Email handler", () => { | |
|
||
expect(response).toEqual({ | ||
statusCode: 200, | ||
body: expect.stringContaining("Email successfully sent with mailgun"), | ||
body: expect.stringContaining("Email sent successfully using mailgun"), | ||
}); | ||
expect(mockMailgunCreate).toHaveBeenCalledWith("domain.com", { | ||
from: "[email protected]", | ||
|
@@ -417,7 +417,7 @@ describe("Email handler", () => { | |
|
||
expect(response).toEqual({ | ||
statusCode: 200, | ||
body: expect.stringContaining("Email successfully sent with postmark"), | ||
body: expect.stringContaining("Email sent successfully using postmark"), | ||
}); | ||
expect(mockPostmarkSendEmail).toHaveBeenCalledWith({ | ||
From: "[email protected]", | ||
|
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