Package Exports
- tap-spec
- tap-spec/bin/cmd
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tap-spec) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
tap-spec

Formatted TAP output like Mocha's spec reporter

Install
npm install tap-spec --save-devUsage
Streaming
var test = require('tape');
var tapSpec = require('tap-spec');
test.createStream()
.pipe(tapSpec())
.pipe(process.stdout);CLI
package.json
{
"name": "module-name",
"scripts": {
"test": "node ./test/tap-test.js | tap-spec"
}
}Then run with npm test
Terminal
tape test/index.js | node_modules/.bin/tap-specTestling
npm install testling -g
testling test/index.js | node_modules/.bin/tap-spec