Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Fixed epilogue with failures

Tj Holowaychuk208e9ab189d2
diff --git a/lib/reporters/base.js b/lib/reporters/base.js
index 68cc8368..caa4af4f 100644
--- a/lib/reporters/base.js
+++ b/lib/reporters/base.js
@@ -187,6 +187,7 @@ Base.prototype.epilogue = function(){
process.nextTick(function(){
process.exit(stats.failures);
});
+ return;
}
// pass