test(server): update stale coalescing and worker title tests

This commit is contained in:
Mohamed Boudra
2026-05-01 19:18:16 +07:00
parent aa547cf66b
commit 68d32eb183
2 changed files with 28 additions and 22 deletions
@@ -199,8 +199,10 @@ it("refreshes cached terminal title after worker title changes", async () => {
const session = trackTerminal(
await manager.createTerminal({
cwd,
command: "/bin/sh",
args: ["-lc", "printf '\\033]0;Build Output\\007'; sleep 2"],
...nodeTerminalCommand(`
process.stdout.write("\\u001b]0;Build Output\\u0007");
setTimeout(() => {}, 2000);
`),
}),
);