☕️ Classic, reliable, trusted test framework for Node.js and the browser
Rename _aborting -> _abort
Travis Jefferyaeac447498b2
diff --git a/lib/runner.js b/lib/runner.jsindex a1ea4970..f2420f2e 100644--- a/lib/runner.js+++ b/lib/runner.js@@ -51,7 +51,7 @@ module.exports = Runner;function Runner(suite) {var self = this;this._globals = [];- this._aborting = false;+ this._abort = false;this.suite = suite;this.total = suite.total();this.failures = 0;@@ -424,7 +424,7 @@ Runner.prototype.runTests = function(suite, fn){// if we bail after first errif (self.failures && suite._bail) return fn();- if (self._aborting) return fn();+ if (self._abort) return fn();if (err) return hookErr(err, errSuite, true);@@ -508,7 +508,7 @@ Runner.prototype.runSuite = function(suite, fn){}}- if (self._aborting) return done();+ if (self._abort) return done();var curr = suite.suites[i++];if (!curr) return done();@@ -602,7 +602,7 @@ Runner.prototype.run = function(fn){*/Runner.prototype.abort = function(){debug('aborting');- this._aborting = true;+ this._abort = true;}/**