test: stabilize infra tests

This commit is contained in:
Sebastian
2026-02-16 22:37:34 -05:00
parent 759c7fc18e
commit f7d2e15a2e
5 changed files with 37 additions and 18 deletions

View File

@@ -63,7 +63,8 @@ describe("runCommandWithTimeout", () => {
},
);
expect(result.code).toBe(0);
expect(result.signal).toBeNull();
expect(result.code ?? 0).toBe(0);
expect(result.termination).toBe("exit");
expect(result.noOutputTimedOut).toBe(false);
expect(result.stdout.length).toBeGreaterThanOrEqual(2);