test(terminal): remove spawn-level timeout per review

Let test-runner handle timeouts instead of spawn-level timeout.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude Bot
2026-01-06 02:43:20 +00:00
parent 8641bd393a
commit b3a883e79a

View File

@@ -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");