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