better-node-test
v0.8.4
Published
The CLI shortcut for node --test runner with TypeScript
Readme
Better Node Test
The CLI shortcut for node --test with:
- TypeScript support.
-tshortcut to run special test.--coverageto check test coverage.
Made at Evil Martians, product consulting for developer tools.
Install
npm install --save-dev better-node-testUsage
To run all tests with *.test.ts or *.test.js:
npx bntTo run special test:
npx bnt ./test/request.test.ts -t 'uses HTTPS'To run test coverage:
npx bnt --coverage 100 --coverage-exclude '**/*.test.*'Use /* node:coverage ignore next 2 */ comments to ignore lines.
