Simple JS "transform" tool that will call
TAP output is complete.
browserify test/*.js | tap-closer | smokestack | tap-spec
The CLI for
calls and work out when a TAP test is finished, closing your browser or Node
process once this happens. It accepts input from stdin only, and outputs to
stdout only, so you would use it like so:
cat bundle.js | tap-closer > bundle-closer.js
All the CLI is doing is prepending the browserified contents of
bundle.js once installed, e.g.:
cat node_modules/tap-closer/bundle.js bundle.js > bundle-closer.js
Though it's generally nicer/safer using the CLI :)
MIT. See LICENSE.md for details.