Mocha's guts
To be installed as a dependency of the mocha
package, alongside mocha-cli
, mocha-ui-bdd
(default UI), mocha-reporter-spec
& mocha-reporter-html
(default reporters), and default runner(s) (TBD).
See package.json
's scripts
field for more info.
- All tests:
npm test
- Includes lint checks
- Includes extra/missing/security dependency checks
- Node.js tests only:
npm test:node
- Browser tests only:
npm test:browser
npm run build
- Compiles
src/
intolib/
for Node.js - Compiles
src/
intodist/
for browsers
- Compiles
Must be run as part of prepublish
as neither lib/
nor dist/
are under VCS.
Copyright (c) 2016 JS Foundation and contributors
Licensed Apache-2.0