Skip to content

Commit

Permalink
Revert "what about giving outer graceful?"
Browse files Browse the repository at this point in the history
This reverts commit 8855c28.
  • Loading branch information
SimenB committed Apr 27, 2020
1 parent 5ab9e1f commit 336a623
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/jest-runtime/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,7 @@ class Runtime {
modulePath = manualMock;
}

if (
moduleName === 'graceful-fs' ||
(moduleName && this._resolver.isCoreModule(moduleName))
) {
if (moduleName && this._resolver.isCoreModule(moduleName)) {
return this._requireCoreModule(moduleName);
}

Expand Down

0 comments on commit 336a623

Please sign in to comment.