mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 06:17:19 -05:00
Merge pull request #31986 from microsoft/buildLocale
Support --locale with --build
This commit is contained in:
@@ -486,6 +486,16 @@ namespace ts {
|
||||
});
|
||||
});
|
||||
|
||||
it("parse build with --locale en-us", () => {
|
||||
// --lib es6 0.ts
|
||||
assertParseResult(["--locale", "en-us", "src"],
|
||||
{
|
||||
errors: [],
|
||||
projects: ["src"],
|
||||
buildOptions: { locale: "en-us" }
|
||||
});
|
||||
});
|
||||
|
||||
it("parse build with --tsBuildInfoFile", () => {
|
||||
// --lib es6 0.ts
|
||||
assertParseResult(["--tsBuildInfoFile", "build.tsbuildinfo", "tests"],
|
||||
|
||||
Reference in New Issue
Block a user