Fix mocha exit code