Comparing version 2.1.0 to 2.1.1
@@ -101,3 +101,3 @@ "use strict"; | ||
return this.returns.apply(this, _toConsumableArray(args.map(function (arg) { | ||
return this.returns.apply(this, _toConsumableArray((args.length ? args : [undefined]).map(function (arg) { | ||
return Promise.resolve(arg); | ||
@@ -113,3 +113,3 @@ }))); | ||
return this.calls.apply(this, _toConsumableArray(msgOrErrors.map(function (msgOrError) { | ||
return this.calls.apply(this, _toConsumableArray((msgOrErrors.length ? msgOrErrors : [undefined]).map(function (msgOrError) { | ||
return function () { | ||
@@ -116,0 +116,0 @@ return Promise.reject((0, _utils.toError)(msgOrError, _this[Symbols.name])); |
{ | ||
"name": "spy4js", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Smart, compact and powerful spy test framework", | ||
@@ -5,0 +5,0 @@ "jest": { |
Sorry, the diff of this file is not supported yet
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
90178