Errors do not exit with code 1
Closed this issue · 2 comments
jcrugzz commented
When an error occurs within the test, I see a logged output of
Error: Exit 1
But the process itself does not exit with code 1. This creates false positives in systems like jenkins that rely on the exit code to be accurate.
mantoni commented
I use Mochify with Jenkins all the time and the exit code is 1 for failing tests.
Can you provide an example where this does not work as expected?