npm install --save-dev mocha forgiven forgiven-mocha
import {
create,
} from 'forgiven';
import {
mocha,
} from 'forgiven-mocha';
global.given = create(mocha);
Run unit tests and build before pushing/opening a pull request
npm test
- lint and testnpm start
- watch and build, etc with alarmistnpm run build
- run tests then buildnpm run watch
- watch for changes and run buildnpm run ci
- run build and submit coverage to coveralls