mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 21:00:44 +00:00
build: update tsgo native preview
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user