Skip to content

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

@tomivm

Description

@tomivm

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions