Skip to content

Commit 6241bae

Browse files
test: force-kill unresponsive PTY shells
1 parent 8d326a4 commit 6241bae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/utils/pty-shell/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const ptyShell = () => {
2020

2121
const close = () => {
2222
closedShell ??= (async () => {
23-
await subprocess.kill();
23+
await subprocess.kill({ forceKill: 1000 });
2424
const result = await subprocess;
2525
return stripAnsi(result.output);
2626
})();

0 commit comments

Comments
 (0)