Skip to content

Commit f31b9d3

Browse files
committed
fix test
1 parent 47e7790 commit f31b9d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/testRunner/unittests/moduleResolution.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ namespace ts {
326326
const host = createModuleResolutionHost(
327327
/*hasDirectoryExists*/ true,
328328
{
329-
name: "/a.ts",
329+
name: "/modules/a.ts",
330330
symlinks: ["/sub/node_modules/a/index.ts"],
331331
},
332332
{
@@ -342,7 +342,7 @@ namespace ts {
342342
isExternalLibraryImport: true,
343343
originalPath: "/sub/node_modules/a/index.ts",
344344
packageId: undefined,
345-
resolvedFileName: "/a.ts",
345+
resolvedFileName: "/modules/a.ts",
346346
});
347347
resolution = resolveModuleName("a", "/foo.ts", compilerOptions, host, cache);
348348
assert.isUndefined(resolution.resolvedModule, "lookup in parent directory doesn't hit the cache");

0 commit comments

Comments
 (0)