test(perf): settle codex hook turn startup

This commit is contained in:
Peter Steinberger
2026-05-06 13:32:45 +01:00
parent 12a42bf3da
commit 458ce2da94

View File

@@ -938,6 +938,7 @@ describe("runCodexAppServerAttempt", () => {
const run = runCodexAppServerAttempt(params);
await harness.waitForMethod("turn/start");
expect(llmInput).toHaveBeenCalled();
await new Promise<void>((resolve) => setImmediate(resolve));
expect(llmInput.mock.calls).toEqual(
expect.arrayContaining([