test(bash): defend zero-timeout executor deadline

Signed-off-by: Christian Stewart <christian@aperture.us>
This commit is contained in:
Christian Stewart
2026-07-05 17:28:30 -07:00
parent 78d4978c51
commit 0145131432
2 changed files with 5 additions and 1 deletions
@@ -406,7 +406,7 @@ exit 64
if (process.platform === "win32") {
return;
}
const result = await executeBash("sleep 0.1; echo done", { cwd: tempDir, timeout: 0 });
const result = await executeBash("sleep 1.2; echo done", { cwd: tempDir, timeout: 0 });
expect(result.cancelled).toBe(false);
expect(result.output.trim()).toBe("done");
});