Skip to content

Commit

Permalink
fix: test on nodemailer
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Oct 4, 2023
1 parent cec7449 commit 3001462
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/nodemailer/src/lib/nodemailer.provider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ describe('Config is set to secure=false but not user and password set', () => {

expect(nodemailer.createTransport).toHaveBeenCalled();
expect(nodemailer.createTransport).toHaveBeenCalledWith({
name: config.host,
host: config.host,
port: config.port,
secure: config.secure,
Expand Down Expand Up @@ -95,6 +96,7 @@ describe('Config is set to secure=false (default; TLS used if server supports ST

expect(nodemailer.createTransport).toHaveBeenCalled();
expect(nodemailer.createTransport).toHaveBeenCalledWith({
name: mockConfig.host,
host: mockConfig.host,
port: mockConfig.port,
secure: mockConfig.secure,
Expand Down

0 comments on commit 3001462

Please sign in to comment.