am-tap-dot
1.0.1 • Public • Published am-tap-dot
Human-readable dots style TAP reporter
Passed tests
Failed tests
Install
# local
npm i am-tap-dot -D
# global
npm i am-tap-dot -g
Usage
Streaming
const test = require('tape');
const { amTapDot } = require('am-tap-dot');
test.createStream()
.pipe(amTapDot())
.pipe(process.stdout);
CLI
package.json
{
"name": "module-name",
"scripts": {
"test": "node ./test/tap-test.js | am-tap-dot"
}
}
Then run with npm test
Terminal
tape test/index.js | node_modules/.bin/am-tap-dot
Package Sidebar
Install
Weekly Downloads