test: optimize hot-path test runtime

This commit is contained in:
Peter Steinberger
2026-02-16 03:49:01 +00:00
parent 9b2e1769c5
commit 31939397a9
3 changed files with 35 additions and 42 deletions

View File

@@ -26,7 +26,7 @@ describe("process supervisor", () => {
mode: "child",
argv: [process.execPath, "-e", "setTimeout(() => {}, 10_000)"],
timeoutMs: 5_000,
noOutputTimeoutMs: 200,
noOutputTimeoutMs: 120,
stdinMode: "pipe-closed",
});
const exit = await run.wait();