node-test-cli

Create node js/ts unit tests.

Usage no npm install needed!

<script type="module">
  import nodeTestCli from 'https://cdn.skypack.dev/node-test-cli';
</script>

README

node-test-cli

Create node js/ts unit tests.

NPM version

Usage

Create node js/ts unit tests.

VERSION
  node-test-cli/1.0.2 darwin-x64 node-v12.2.0

USAGE
  $ ntest [COMMAND]

COMMANDS
  help  display help for ntest
  init  Initial nodejs test collection
  new   Initial nodejs test collection

Test Collection Structure

.
├── jest.config.js
├── package.json
└── units
    └── add
        ├── __test__
        │   └── index.spec.js
        └── index.js

Run Test

jest

See package.json scripts.