Skip to content

Commit 2b61823

Browse files
committed
test(server): document the native pipe subprocess watchdog
1 parent b1b7342 commit 2b61823

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/server/src/preview/DesktopBrowserChannel.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ it("receives desktop messages and exits while the parent keeps both input pipes
1111
{ stdio: ["ignore", "pipe", "pipe", "pipe", "pipe", "pipe", "pipe"] },
1212
);
1313
// A failed exit must not leave a test process running. This never fires on success.
14+
// @effect-diagnostics-next-line globalTimers:off -- Bounds the native subprocess on failure; success waits for process exit.
1415
const watchdog = setTimeout(() => child.kill("SIGKILL"), 8_000);
1516
let output = "";
1617
let errors = "";

0 commit comments

Comments
 (0)