1) What version of the module is the issue happening on? Does the issue happen on latest version?
0.22.0
2) What platform and Node.js version? (For example Node.js 6.9.1 on Mac OS X)
Node.JS 12, Mac OS X
3) Does the action work when you manually perform request against mailgun using curl (or other means)?
No
4) Sample source code or steps to reproduce
I am attempting to run integration tests against an API controller which sends an email, and am having trouble figuring out if there is a way to force an email sent in test mode to throw. I have the below try/catch block:
1) What version of the module is the issue happening on? Does the issue happen on latest version?
0.22.0
2) What platform and Node.js version? (For example Node.js 6.9.1 on Mac OS X)
Node.JS 12, Mac OS X
3) Does the action work when you manually perform request against mailgun using curl (or other means)?
No
4) Sample source code or steps to reproduce
I am attempting to run integration tests against an API controller which sends an email, and am having trouble figuring out if there is a way to force an email sent in test mode to throw. I have the below try/catch block:
which handles the case when the sent email throws, but according to the documentation:
Is there a way to reliably test a failed request without actually sending an email?