fix(testbox): force noninteractive remote hydration

This commit is contained in:
Vincent Koc
2026-07-10 20:29:30 -07:00
committed by Vincent Koc
parent 48704f065a
commit e85a4f0ef2
2 changed files with 30 additions and 18 deletions
+7 -1
View File
@@ -760,6 +760,8 @@ describe("scripts/crabbox-wrapper", () => {
"--id",
"tbx_owned",
"--",
"env",
"CI=true",
"echo ok",
]);
});
@@ -782,6 +784,8 @@ describe("scripts/crabbox-wrapper", () => {
"--id",
"blue-hermit",
"--",
"env",
"CI=true",
"echo ok",
]);
});
@@ -3166,7 +3170,9 @@ describe("scripts/crabbox-wrapper", () => {
expect(result.error).toBeUndefined();
expect(result.status).toBe(0);
expect(result.stderr).not.toContain("could not parse provider list");
expect(result.stderr).not.toContain("selected binary failed basic --version/--help sanity checks");
expect(result.stderr).not.toContain(
"selected binary failed basic --version/--help sanity checks",
);
expect(result.stderr).toContain(
"providers=hetzner,aws,local-container,blacksmith-testbox,cloudflare",
);