Skip to content

Commit 39a0e05

Browse files
authored
refactor(jest-runtime): do not call resetAllMock() during teardown (#13924)
1 parent a9902ac commit 39a0e05

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/jest-runtime/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,6 @@ export default class Runtime {
13401340

13411341
teardown(): void {
13421342
this.restoreAllMocks();
1343-
this.resetAllMocks();
13441343
this.resetModules();
13451344

13461345
this._internalModuleRegistry.clear();

0 commit comments

Comments
 (0)