build: update tsgo native preview

This commit is contained in:
Peter Steinberger
2026-04-23 15:59:43 +01:00
parent da3e9ded19
commit 7b6b7d53fc
4 changed files with 55 additions and 52 deletions

View File

@@ -86,7 +86,7 @@ describe("local-heavy-check-runtime", () => {
expect(shortFlag.args).toEqual(["-d"]);
});
it("defaults local tsgo to throttled mode on roomy hosts", () => {
it("defaults local tsgo to full-speed mode on roomy hosts", () => {
const { args, env } = applyLocalTsgoPolicy([], makeEnv(), ROOMY_HOST);
expect(args).toEqual([
@@ -95,12 +95,9 @@ describe("local-heavy-check-runtime", () => {
"--incremental",
"--tsBuildInfoFile",
".artifacts/tsgo-cache/root.tsbuildinfo",
"--singleThreaded",
"--checkers",
"1",
]);
expect(env.GOGC).toBe("30");
expect(env.GOMEMLIMIT).toBe("3GiB");
expect(env.GOGC).toBeUndefined();
expect(env.GOMEMLIMIT).toBeUndefined();
});
it("uses the configured local tsgo build info file", () => {