just-test-node
v2.0.6
Published
just-test on node.
Maintainers
Readme
just-test-node
Just run and report.
Install
npm install --save-dev just-test-node
Usage
Write your test modules with the just-test-api (typescript interfaces):
https://www.npmjs.com/package/just-test-api
In your package.json:
"scripts": {
"test": "just-test",
"testWithGlobExample": "just-test --glob=./lib/**/*.test.js"
}The default glob will pick all ".test.js" ("./!(node_modules)/**/.test.js").
Run:npm test
Ornpm test "some test filter"
Folder Suite
Placing a file named "@test-suite" in a folder, will place all test under this folder into a suite.
