This is a skeleton of a nodejs project with:
- Babel 7.x
- Mocha 8.x
- Chai 4.x
- Eslint (with enspirit's config)
Command: npm start
Command: npm test
Command: npm run test:watch
A report will be generated in tests/test-results.xml
. This file is compatible with jenkins' junit plugin.
Command: npm run test:coverage
The coverage report will be generated in the folder coverage/
.
Command: npm run lint
Command: npm run lint:fix