Error succeeds on error



As you can see from the image, there is a missing file in my project, it responds with an error and the test should fail but I see the SUCCESS badge.


NodeJS is still returning an exit code of 0, thus npm test is still being marked as success. The last line of that output explains why. More info here:


That’s it. Thanks!