Skip to content

Commit 4142750

Browse files
authored
Fix tsconfig.spec.ts not working on MacOS (#1536)
1 parent f205222 commit 4142750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cli/tsconfig.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ afterEach(async () => {
2020
const locate = (project: string | undefined, fileNames: string[] = []) =>
2121
locateConfigFile({ errors: [], fileNames, options: { project } });
2222

23-
const normalize = (name: string) => normalizeSlashes(path.resolve(temp, name));
23+
const normalize = (name: string) => normalizeSlashes(fs.realpathSync(path.resolve(temp, name)));
2424

2525
describe("specified", () => {
2626
for (const separator of process.platform === "win32" ? ["/", "\\"] : ["/"]) {

0 commit comments

Comments
 (0)