We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a636c38 commit 4051bcbCopy full SHA for 4051bcb
test/chain.test.js
@@ -64,7 +64,7 @@ let mockPushProcessors;
64
const clearCache = (sandbox) => {
65
delete require.cache[require.resolve('../src/proxy/processors')];
66
delete require.cache[require.resolve('../src/proxy/chain')];
67
- sandbox.reset();
+ sandbox.restore();
68
};
69
70
describe('proxy chain', function () {
@@ -95,8 +95,6 @@ describe('proxy chain', function () {
95
96
afterEach(() => {
97
// Clear the module from the cache after each test
98
- sandboxSinon.restore();
99
- sinon.restore();
100
clearCache(sandboxSinon);
101
});
102
0 commit comments