2.0.0 • Published 4 years ago

tap-exit-code v2.0.0

Weekly downloads
6
License
CC0-1.0
Repository
github
Last release
4 years ago

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)