Skip to content

Commit

Permalink
Audit fix and jest bump to v27
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoRosendo committed Oct 17, 2021
1 parent 0c4bfa1 commit f26efd3
Show file tree
Hide file tree
Showing 4 changed files with 947 additions and 2,693 deletions.
6 changes: 5 additions & 1 deletion __mocks__/nodemailer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@

const transporter = {
verify: jest.fn(),
sendMail: jest.fn(),
sendMail: jest.fn().mockReturnValue({
response: "mockedMail",
envelope: "mockedMail",
messageId: "mock123"
}),
use: jest.fn()
};
const createTransport = jest.fn().mockReturnValue(transporter);
Expand Down
Loading

0 comments on commit f26efd3

Please sign in to comment.