Merge pull request #31986 from microsoft/buildLocale

Support --locale with --build
This commit is contained in:
Sheetal Nandi
2019-06-20 12:25:37 -07:00
committed by GitHub
4 changed files with 22 additions and 7 deletions

View File

@@ -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"],