Package detail

tap-exit-code

m59peacemaker1.2kCC0-1.02.0.0

Receives streaming TAP, passes it through, and sets the process exit code to 1 if there are any failing tests.

TAP, reporter, set, exit

readme

tap-exit-code

Receives streaming TAP, passes it through, and sets the process exit code to 1 if there are any failing tests.

install

npm install tap-exit-code

example

const exitCode = require('tap-exit-code')

process.stdin
  .pipe(exitCode())
  .pipe(yourTapReporter())
  .pipe(process.stdout)