Skip to content

Commit

Permalink
refactor(jest-runtime): do not call resetAllMock() during teardown (
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazauskas committed Feb 23, 2023
1 parent a9902ac commit 39a0e05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/jest-runtime/src/index.ts
Expand Up @@ -1340,7 +1340,6 @@ export default class Runtime {

teardown(): void {
this.restoreAllMocks();
this.resetAllMocks();
this.resetModules();

this._internalModuleRegistry.clear();
Expand Down

0 comments on commit 39a0e05

Please sign in to comment.