Test your packages with Mocha
Seamless testing with Mocha for Northbrook. Handles TypeScript and ES2015 tests out-of-box.
Requires test files to be named using one of the following patterns:
Let me have it!
npm install --save-dev @northbrook/mocha
// northbrook.js;// northbrook.ts;module.exports =
Only run tests for the packages that have changed since last release. This option is very useful for speeding up CI testing for monorepos.
northbrook mocha --changed
A list of packages, separated by comma, to require before running your tests
That would normally be used as
mocha -r _____
northbrook mocha --require jsdom-global/register,buba/register