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:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user