UNPKG

tap-notify

Version:

the Notifier for OS X, Linux and Windows as TAP reporter

14 lines (9 loc) 247 B
#!/usr/bin/env node import createReporter from './index'; const reporter = createReporter(); process.stdin .pipe(reporter) .pipe(process.stdout); process.on('exit', status => { if (status === 1 || reporter.isFailed) process.exit(1); });