☕️ Classic, reliable, trusted test framework for Node.js and the browser
build
TJ Holowaychuk8f66a59657dc
diff --git a/mocha.js b/mocha.jsindex f01d356a..2e40cae6 100644--- a/mocha.js+++ b/mocha.js@@ -1324,7 +1324,7 @@ function Mocha(options) {*/Mocha.prototype.bail = function(bail){- if (null == bail) bail = true;+ if (0 == arguments.length) bail = true;this.suite.bail(bail);return this;};