diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index 02e117fd7b9..5a98c0b276c 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -448,7 +448,7 @@ class someClass { }`), }, incrementalDtsChangedBuild: { modifyFs: fs => replaceText(fs, "/src/logic/tsconfig.json", `"declaration": true,`, `"declaration": true, - "declarationDir": "decls"`), + "declarationDir": "decls",`), expectedDiagnostics: [ getExpectedDiagnosticForProjectsInBuild("src/core/tsconfig.json", "src/logic/tsconfig.json", "src/tests/tsconfig.json"), [Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2, "src/core/tsconfig.json", "src/core/anotherModule.ts", "src/core/anotherModule.js"], diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/buildInfo/when-logic-config-changes-declaration-dir.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/buildInfo/when-logic-config-changes-declaration-dir.js index 6e7efc31a77..4733c81e58b 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/buildInfo/when-logic-config-changes-declaration-dir.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/buildInfo/when-logic-config-changes-declaration-dir.js @@ -9,7 +9,7 @@ export declare const m: typeof mod; "compilerOptions": { "composite": true, "declaration": true, - "declarationDir": "decls" + "declarationDir": "decls", "sourceMap": true, "forceConsistentCasingInFileNames": true, "skipDefaultLibCheck": true diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/no-buildInfo/when-logic-config-changes-declaration-dir.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/no-buildInfo/when-logic-config-changes-declaration-dir.js index 6e7efc31a77..4733c81e58b 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/no-buildInfo/when-logic-config-changes-declaration-dir.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/no-buildInfo/when-logic-config-changes-declaration-dir.js @@ -9,7 +9,7 @@ export declare const m: typeof mod; "compilerOptions": { "composite": true, "declaration": true, - "declarationDir": "decls" + "declarationDir": "decls", "sourceMap": true, "forceConsistentCasingInFileNames": true, "skipDefaultLibCheck": true