From 031df77dfb9248fe47b40ec52bf8b05052231722 Mon Sep 17 00:00:00 2001 From: Christoph K <53318155+christophkogler@users.noreply.github.com> Date: Fri, 16 May 2025 19:48:11 -0700 Subject: [PATCH] Remove unnecessary console log from test (#970) When running `npm test` on `codex-cli`, the test `agent-cancel-prev-response.test.ts` logs a significant body of text to console for no obvious reason. This is not helpful, as it makes test logs messy and far longer. This change deletes the `console.log(...)` that produces the behavior. --- codex-cli/tests/agent-cancel-prev-response.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/codex-cli/tests/agent-cancel-prev-response.test.ts b/codex-cli/tests/agent-cancel-prev-response.test.ts index 08d37e7b..9e7c3974 100644 --- a/codex-cli/tests/agent-cancel-prev-response.test.ts +++ b/codex-cli/tests/agent-cancel-prev-response.test.ts @@ -132,8 +132,6 @@ describe("cancel clears previous_response_id", () => { ] as any); const bodies = _test.getBodies(); - // eslint-disable-next-line no-console - console.log(JSON.stringify(bodies, null, 2)); expect(bodies.length).toBeGreaterThanOrEqual(2); // The *last* invocation belongs to the second run (after cancellation).