Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use root-hooks or global-fixtures to set up Mocha test and clean the db #167

Open
tomivm opened this issue Apr 23, 2021 · 0 comments
Open
Assignees

Comments

@tomivm
Copy link
Collaborator

tomivm commented Apr 23, 2021

Create a root Mocha file for set up test. Mock nodemailer and Clean dB.
Evaluate the possibility of including it with --require or a config file.
https://mochajs.org/#root-hook-plugins
https://mochajs.org/#global-fixtures
https://mochajs.org/#configuring-mocha-nodejs
image

@tomivm tomivm self-assigned this Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant