Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm ERR! Exit status 1 when threshold is not met #351

apipkin opened this issue Apr 26, 2015 · 0 comments


Copy link

@apipkin apipkin commented Apr 26, 2015

Possible duplication of #95.

I was getting an npm ERR! Exit status 1 when using lab -t 100 and having less than 100% coverage.

Being that this was my first test, I wanted to see the output. After seeing the error message, I went to the internet to search for the cause of the problem and couldn't find anything leading.

I then went to the IRC Channel and Marsup was able to quickly point me to "coverage". When I adjusted the threshold to 10 the error went away. After a quick discussion, I see the need for exit(1) when below the threshold, but documentation could be very helpful when presented with an ominous npm error messages.

@geek geek added the documentation label Apr 27, 2015
@geek geek added this to the 5.8.0 milestone Apr 27, 2015
@geek geek self-assigned this Apr 27, 2015
@geek geek closed this in e81da97 Apr 27, 2015
geek added a commit that referenced this issue Apr 27, 2015
Fix #351. Add message about threshold and npm error message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.