tap-exit-code

2.0.0 • Public • Published

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)

Package Sidebar

Install

npm i tap-exit-code

Weekly Downloads

4

Version

2.0.0

License

CC0-1.0

Unpacked Size

9.74 kB

Total Files

9

Last publish

Collaborators

  • m59