Testing

Here is the command to run the mocha test suite:

$ npm run mocha

When working on the source code, it is best to run mocha with the --watch options, when a file is saved, the tests are executed again.

$ npm run mocha:watch

To execute only one test, add .only to it or describe

Last updated