better-node-test

0.5.1 • Public • Published

Better Node Test

The CLI shortcut for node --test with:

  • TypeScript support.
  • -t shortcut to run special test.

Better Node Test CLI


  Made in Evil Martians, product consulting for developer tools.


Usage

Install CLI:

npm install --save-dev better-node-test

For TypeScript you will also need tsx (or you can use tsm):

npm install --save-dev better-node-test tsx

To run all tests with *.test.ts or *.test.js:

npx bnt

To run special test:

npx bnt ./test/request.test.ts -t 'uses HTTPS'

Readme

Keywords

Package Sidebar

Install

npm i better-node-test

Weekly Downloads

46

Version

0.5.1

License

MIT

Unpacked Size

4.51 kB

Total Files

4

Last publish

Collaborators

  • ai