nodemailer-mock
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -180,3 +180,3 @@ 'use strict'; | ||
Object.assign(mock, { | ||
shouldFailOnce: mock.setShouldFaileOnce, | ||
shouldFailOnce: mock.setShouldFailOnce, | ||
shouldFail: mock.setShouldFail, | ||
@@ -183,0 +183,0 @@ mockedVerify: mock.setMockedVerify, |
{ | ||
"name": "nodemailer-mock", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Mock nodemailer module for testing", | ||
@@ -5,0 +5,0 @@ "main": "nodemailer-mock.js", |
@@ -178,3 +178,3 @@ # nodemailer-mock | ||
it('should fail to send an email using nodemailer-mock', async (done) { | ||
it('should fail to send an email using nodemailer-mock', async () { | ||
// tell the mock class to return an error | ||
@@ -192,3 +192,3 @@ const err = 'My custom error'; | ||
it('should verify using the real nodemailer transport', async (done) { | ||
it('should verify using the real nodemailer transport', async () { | ||
// tell the mock class to pass verify requests to nodemailer | ||
@@ -195,0 +195,0 @@ nodemailerMock.mock.setMockedVerify(false); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32793