mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 21:32:05 +00:00
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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user