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 13, 2020
1 parent a402137 commit 0ff9490
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/jest-runtime/src/index.ts
Expand Up @@ -336,10 +336,7 @@ class Runtime {
return this.getGlobalsForFile(from);
}

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 0ff9490

Please sign in to comment.