Go to the root directory (where the package.json
is located) and run:
npm install
Run the tests once:
npm test
Run the test and re-run them once a file changes:
npm run test:watch
- Support for ES-2015 and stage-0 using Babel presets
- Sinon JS for all stub, spy and mocking needs
- Mocha to run tests
- Assertions using Chai, extended with the
sinon-chai
plugin.- The Expect style is used by default,
you can change to use
Should
instead, intest/test-setup.js
,
- The Expect style is used by default,
you can change to use