tap_bail

1.0.1 • Public • Published

tap_bail

Stream that receives TAP and exits on first failing test.

install

npm install tap_bail

example

# run tests, format TAP with tap-spec, exit on first failing test 
npm test | tap_bail | tap-spec
const tapBail = require('tap_bail')
 
const stream = tapBail()
  .on('error', () => {}) // failing test
  .on('end', () => {}) // all tests passed

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    5
  • 1.0.0
    1

Package Sidebar

Install

npm i tap_bail

Weekly Downloads

2

Version

1.0.1

License

CC0-1.0

Last publish

Collaborators

  • m59