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 81d0214 commit eb5e4ab
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 eb5e4ab

Please sign in to comment.