simple-mock
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -71,4 +71,4 @@ (function (global, module) { // Browser compatibility | ||
if (action.throwError) throw action.throwError | ||
if (action.returnValue) return action.returnValue | ||
if (action.fn) return action.fn.apply(action.ctx || this, arguments) | ||
if ('returnValue' in action) return action.returnValue | ||
if ('fn' in action) return action.fn.apply(action.ctx || this, arguments) | ||
@@ -75,0 +75,0 @@ var cb = ('cbArgIndex' in action) ? arguments[action.cbArgIndex] : arguments[arguments.length - 1] |
{ | ||
"name": "simple-mock", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Super simple stubs and spies with 1-step sandbox restore", | ||
@@ -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
13690