Skip to content

Commit ef42c07

Browse files
committed
test: stop chain test stubs leaking into other tests
1 parent d9d8b18 commit ef42c07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/chain.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ describe('proxy chain', function () {
9595

9696
afterEach(() => {
9797
// Clear the module from the cache after each test
98+
sandboxSinon.restore();
99+
sinon.restore();
98100
clearCache(sandboxSinon);
99101
});
100102

0 commit comments

Comments
 (0)