mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Fix the sample test which lead to discripancy with incremntal build because of error (#54311)
This commit is contained in:
1 parent
ce1c97f4f0
commit
d01a1c3081
3 files changed
+36
-367
No files matched your search
@@ -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