Open JulesAU opened 6 years ago
Published with my PR to here:
https://www.npmjs.com/package/@motowhere/nodemailer-mock-transport
@JulesAU thanks for the update, sorry for dropping this on the floor. Any chance you could get the tests passing and we can work on landing this?
@bcoe Don't think the failing build has anything to do with my PR - seems project build was failing 11 months ago and before...
We can't rely on using an invalid email address to trigger a send error; because that likely won't get past the validation part of our APIs under test. So instead, we can now configure a forced-fail instance.
Also added { envelope } response in success callback on sendMail, matching what nodemailer does.