rewiremock
Advanced tools
Comparing version 3.5.0 to 3.5.1
@@ -178,3 +178,3 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | ||
mock.override = mockThought(factory || standardStubFactory, mock.original); | ||
return mockResult(request, mock, mock.override); | ||
return mockResult(request, mock, Object.assign({}, mock.override, mock.value, { __esModule: mock.original.__esModule })); | ||
} | ||
@@ -181,0 +181,0 @@ |
@@ -203,3 +203,3 @@ 'use strict'; | ||
mock.override = mockThought(factory || standardStubFactory, mock.original); | ||
return mockResult(request, mock, mock.override); | ||
return mockResult(request, mock, Object.assign({}, mock.override, mock.value, { __esModule: mock.original.__esModule })); | ||
} | ||
@@ -206,0 +206,0 @@ |
{ | ||
"name": "rewiremock", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "Advanced dependency mocking device.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.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
150573