test: budget CLI output variant subprocesses

This commit is contained in:
morluto 2026-07-20 08:39:41 +00:00
parent c06eb46d1a
commit f823486862
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import { sanitizeCliOutput } from "../src/cliOutput.js";
const execFileAsync = promisify(execFile);
const CLI_INTEGRATION_TIMEOUT_MS = 60_000;
const CLI_VARIANT_TIMEOUT_MS = 120_000;
describe("CLI output boundary", () => {
it("preserves normal output and sanitizes text and JSON validation errors", () => {
@ -156,7 +157,7 @@ describe("CLI output boundary", () => {
).rejects.toMatchObject({ code: 1, stdout: expect.any(String) });
}
},
CLI_INTEGRATION_TIMEOUT_MS,
CLI_VARIANT_TIMEOUT_MS,
);
it(