Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

node-test-cli

kylqin19MIT1.0.3TypeScript support: included

Create node js/ts unit tests.

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.