visionmedia/mocha — Issue #188: Mocha exits with incorrect code when tests fail
Author: guyht
Created: 2012-01-05 05:30:45+00:00
State: open

Mocha exits with exit code 0 when tests fail. This means it cannot be used with Travis-CI

http://about.travis-ci.org/docs/user/build-configuration/

The standard Unix exit code of “0” means the build passed; everything else is treated as failure.

Output

✖ 1 of 5 tests failed:

% echo $?
0