Open
Description
Detailed Description
Make sure that tests don't send emails, this should be mocked out.
Context
Currently you need to check that you don't have SEND_EMAILS set to true before sending emails. This should be avoided if at all possible.
Possible Implementation
Either mocking or test.sh should set a temporary environment variable which should be checked and if set then emails shouldn't be sent. First method is preferred but either works.
Your Environment
- Version used:
- Environment name and version (e.g. Chrome 39, node.js 5.4):
- Operating System and version (desktop or mobile):
- Link to your project: