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 Mar 29, 2020
1 parent 8dd5817 commit 10260cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/jest-runtime/src/index.ts
Expand Up @@ -315,10 +315,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 10260cc

Please sign in to comment.