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.
This commit is contained in:
Christoph K
2025-05-16 19:48:11 -07:00
committed by GitHub
parent f9143d0361
commit 031df77dfb

View File

@@ -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).