matsuri-hooks 4.2.11 → 4.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5538,10 +5538,11 @@ function createMock({ state, config: config2, name: mockName, prototypeState, pr
|
|
|
5538
5538
|
}
|
|
5539
5539
|
return returnValue;
|
|
5540
5540
|
} };
|
|
5541
|
+
const mock = namedObject[name];
|
|
5541
5542
|
if (original) {
|
|
5542
|
-
copyOriginalStaticProperties(
|
|
5543
|
+
copyOriginalStaticProperties(mock, original);
|
|
5543
5544
|
}
|
|
5544
|
-
return
|
|
5545
|
+
return mock;
|
|
5545
5546
|
}
|
|
5546
5547
|
function registerCalls(args, state, prototypeState) {
|
|
5547
5548
|
state.calls.push(args);
|
|
@@ -15560,4 +15561,4 @@ chai/index.js:
|
|
|
15560
15561
|
* @license MIT License
|
|
15561
15562
|
*)
|
|
15562
15563
|
*/
|
|
15563
|
-
//# sourceMappingURL=chunk-
|
|
15564
|
+
//# sourceMappingURL=chunk-4FNYHQHA.js.map
|