Safe Tape Runner
A tape runner that always exits with code
0. This allows us to play nice on Windows and keep our npm scripts composable.
Exiting with the right code should be the reporters job anyway.
But what about CI?
npm install safe-tape-runner --save-dev
If you pipe to a reporter like
tap-spec, it will exit with the proper code,
0 for passing and
1 for failing.
safe-tape-runner test.js | tap-spec
You can also use glob patterns because we pass through to