mock-promises
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -224,2 +224,3 @@ (function (root, factory) { | ||
var numResolved = 0; | ||
if(promises.length === 0) { resolve([]); } | ||
promises.forEach(function(promise, i) { | ||
@@ -240,3 +241,4 @@ promise.then(function(value) { | ||
var raceFinished = false; | ||
if(promises.length === 0) { resolve(); } | ||
promises.forEach(function(promise) { | ||
@@ -243,0 +245,0 @@ promise.then( |
{ | ||
"name": "mock-promises", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"author": "Charles Hansen <chansen87@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
40108
819