Comparing version 0.9.1 to 0.9.2
@@ -150,4 +150,6 @@ /** | ||
handlers.enterSuite(suite); | ||
util.forEach(suite.suites, next); | ||
util.forEach(suite.tests, handlers.test) | ||
util.forEach(suite.runnables, function(runnable){ | ||
if (runnable instanceof Suite) next(runnable); | ||
else handlers.test(runnable); | ||
}); | ||
handlers.leaveSuite(suite); | ||
@@ -154,0 +156,0 @@ })(this.root); |
@@ -24,4 +24,3 @@ /** | ||
this.parent = null; | ||
this.tests = []; | ||
this.suites = []; | ||
this.runnables = []; | ||
this.events = { | ||
@@ -48,3 +47,3 @@ pre: 'pre:suite', | ||
test.suite = this; | ||
this.tests.push(test); | ||
this.runnables.push(test); | ||
}; | ||
@@ -61,3 +60,3 @@ | ||
suite.parent = this; | ||
this.suites.push(suite); | ||
this.runnables.push(suite); | ||
}; | ||
@@ -75,3 +74,3 @@ | ||
var self = this; | ||
var runnable = this.tests.slice(0).concat(this.suites.slice(0)); | ||
var runnable = this.runnables.slice(); | ||
var current = null; | ||
@@ -78,0 +77,0 @@ var events = this.events; |
{ | ||
"name": "hydro", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"preferGlobal": true, | ||
@@ -5,0 +5,0 @@ "description": "Teeny-weeny test runner for Node.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
981436
2807
0