From b3a883e79ad417ef22017be85f2b56624874912b Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Tue, 6 Jan 2026 02:43:20 +0000 Subject: [PATCH] test(terminal): remove spawn-level timeout per review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let test-runner handle timeouts instead of spawn-level timeout. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- test/js/bun/terminal/terminal.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/js/bun/terminal/terminal.test.ts b/test/js/bun/terminal/terminal.test.ts index 2850067e7a..846c9c3f74 100644 --- a/test/js/bun/terminal/terminal.test.ts +++ b/test/js/bun/terminal/terminal.test.ts @@ -1174,7 +1174,7 @@ describe.todoIf(isWindows)("Bun.spawn with terminal option", () => { await using terminal = new Bun.Terminal({}); // Spawn sleep which will run until interrupted - await using proc = Bun.spawn(["sleep", "100"], { terminal, timeout: 2000 }); + await using proc = Bun.spawn(["sleep", "100"], { terminal }); // Wait for process to start - use longer delay for CI reliability await Bun.sleep(300); @@ -1218,7 +1218,7 @@ describe.todoIf(isWindows)("Bun.spawn with terminal option", () => { expect(proc1.exitCode).toBe(0); // Second spawn - interrupt with Ctrl+C - await using proc2 = Bun.spawn(["sleep", "100"], { terminal, timeout: 2000 }); + await using proc2 = Bun.spawn(["sleep", "100"], { terminal }); await Bun.sleep(300); terminal.write("\x03");