mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 17:27:54 -05:00
Fix the sample test which lead to discripancy with incremntal build because of error (#54311)
This commit is contained in:
@@ -161,7 +161,10 @@ describe("unittests:: tsbuild:: on 'sample1' project", () => {
|
||||
},
|
||||
{
|
||||
caption: "rebuilds when tsconfig changes",
|
||||
edit: fs => replaceText(fs, "/src/tests/tsconfig.json", `"composite": true`, `"composite": true, "target": "es3"`),
|
||||
edit: fs => {
|
||||
replaceText(fs, "/src/tests/tsconfig.json", `"composite": true`, `"composite": true, "target": "es2020"`);
|
||||
fs.writeFileSync("/lib/lib.es2020.full.d.ts", libContent);
|
||||
},
|
||||
},
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user