node-test-cli

1.0.3 • Public • Published

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.

/node-test-cli/

    Package Sidebar

    Install

    npm i node-test-cli

    Weekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    22.8 kB

    Total Files

    28

    Last publish

    Collaborators

    • kylqin