Skip to content

Commit c84afa1

Browse files
committed
Fix build from incomplete merge
1 parent d02531f commit c84afa1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/testRunner/unittests/tsserver/projectReferenceCompileOnSave.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ ${appendDts}`
410410
describe("unittests:: tsserver:: with project references and compile on save with external projects", () => {
411411
it("compile on save emits same output as project build", () => {
412412
const tsbaseJson: File = {
413-
path: `${projectRoot}/tsbase.json`,
413+
path: `${tscWatch.projectRoot}/tsbase.json`,
414414
content: JSON.stringify({
415415
compileOnSave: true,
416416
compilerOptions: {
@@ -419,7 +419,7 @@ ${appendDts}`
419419
}
420420
})
421421
};
422-
const buttonClass = `${projectRoot}/buttonClass`;
422+
const buttonClass = `${tscWatch.projectRoot}/buttonClass`;
423423
const buttonConfig: File = {
424424
path: `${buttonClass}/tsconfig.json`,
425425
content: JSON.stringify({
@@ -440,7 +440,7 @@ ${appendDts}`
440440
}`
441441
};
442442

443-
const siblingClass = `${projectRoot}/SiblingClass`;
443+
const siblingClass = `${tscWatch.projectRoot}/SiblingClass`;
444444
const siblingConfig: File = {
445445
path: `${siblingClass}/tsconfig.json`,
446446
content: JSON.stringify({

0 commit comments

Comments
 (0)