Skip to content

Commit 78999ff

Browse files
author
Maël Nison
committed
Stops using realpath in the resolution
1 parent b80dc79 commit 78999ff

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/jest-resolve/src/default_resolver.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ function resolveSync(target: Path, options: ResolverOptions): Path {
9494
if (isDirectory(dir)) {
9595
result = resolveAsFile(name) || resolveAsDirectory(name);
9696
}
97-
if (result) {
98-
// Dereference symlinks to ensure we don't create a separate
99-
// module instance depending on how it was referenced.
100-
result = fs.realpathSync(result);
101-
}
10297
return result;
10398
}
10499

0 commit comments

Comments
 (0)