Comparing version 5.0.4 to 5.0.5
@@ -116,2 +116,4 @@ 'use strict'; | ||
throw new Error('Suite "' + suite.fullTitle() + '" was defined but no callback was supplied. Supply a callback or explicitly skip the suite.'); | ||
} else if (!opts.fn && suite.pending) { | ||
suites.shift(); | ||
} | ||
@@ -118,0 +120,0 @@ |
@@ -106,3 +106,3 @@ 'use strict'; | ||
} | ||
debug('timeout %d', ms); | ||
debug('slow %d', ms); | ||
this._slow = ms; | ||
@@ -109,0 +109,0 @@ return this; |
@@ -268,6 +268,6 @@ 'use strict'; | ||
this.fail(hook, err); | ||
if (this.suite.bail()) { | ||
this.emit('end'); | ||
} | ||
this.fail(hook, err); | ||
}; | ||
@@ -274,0 +274,0 @@ |
{ | ||
"name": "mocha", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"description": "simple, flexible, fun test framework", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19254
772000
52