Skip to content

Commit

Permalink
clear _explicitShouldMock as well
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Apr 28, 2020
1 parent 1962370 commit 3be4064
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/jest-runtime/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,7 @@ class Runtime {
this._mockMetaDataCache.clear();
this._shouldMockModuleCache.clear();
this._shouldUnmockTransitiveDependenciesCache.clear();
this._explicitShouldMock.clear();
this._transitiveShouldMock.clear();
this._virtualMocks.clear();
this._cacheFS.clear();
Expand Down

0 comments on commit 3be4064

Please sign in to comment.