You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ node -v
v4.5.0
$ nyc check-coverage --branches=100
ERROR: Coverage for lines (42.78%) does not meet global threshold (90%)
ERROR: Coverage for branches (30.21%) does not meet global threshold (100%)
$ echo $?
1
Observed Behavior
On Node 0.10, it exits with code 0.
$ node -v
v0.10.46
$ nyc check-coverage --branches=100
ERROR: Coverage for lines (42.78%) does not meet global threshold (90%)
ERROR: Coverage for branches (30.21%) does not meet global threshold (100%)
$ echo $?
0
Forensic Information
Operating System: the operating system you observed the issue on.
Darwin
Environment Information: information about your project's environment, see instructions below:
Expected Behavior
Should exit with status code 1.
Observed Behavior
On Node 0.10, it exits with code 0.
Forensic Information
Operating System: the operating system you observed the issue on.
Darwin
Environment Information: information about your project's environment, see instructions below:
https://gist.github.com/isaacs/14d723f80c0c3a9cccc05f4adaeddaf2
The text was updated successfully, but these errors were encountered: