diff --git a/spec/jasmine-helper.coffee b/spec/jasmine-helper.coffee index 1efb6ce19..1e099d897 100644 --- a/spec/jasmine-helper.coffee +++ b/spec/jasmine-helper.coffee @@ -30,7 +30,7 @@ module.exports.runSpecSuite = (specSuite, logFile, logErrors=true) -> if grim.getDeprecationsLength() > 0 grim.logDeprecations() - return atom.exit(1) if runner.results().failedCount is 0 + return atom.exit(1) if runner.results().failedCount > 0 atom.exit(1)