tap-wrap
v0.0.0
Published
wrap a stdout-emitting headless runner like slimer in a utility that exits when proper
Downloads
5
Maintainers
Readme
tap-wrap
Test runners like SlimerJS don't automatically exit when tests are finished, and they don't output useful return values. This module wraps Slimer and any other runner that runs TAP tests, kills the subprocess when tests are done, and exits with an informative error code.
usage
$ tap-wrap slimerjs tests.js
Or in package.json:
"test": "tap-wrap slimerjs tests.js"
install
npm install --save-dev tap-wrap