UNPKG
tap-nirvana
Version:
latest (1.1.0)
1.1.0
1.0.8
1.0.7
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Proper Diffing Reporter for TAP
github.com/inadarei/tap-nirvana
inadarei/tap-nirvana
tap-nirvana
/
bin
/
cli.js
18 lines
(13 loc)
•
271 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env node
const
tapBDiff =
require
(
'../tap-nirvana'
)(); process.
stdin
.
pipe
(tapBDiff) .
pipe
(process.
stdout
); process.
on
(
'exit'
,
function
(
status
) {
if
(status ===
1
) { process.
exit
(
1
); }
if
(tapBDiff.
failed
) { process.
exit
(
1
); } });