diff --git a/test/llm-judge-stream.test.ts b/test/llm-judge-stream.test.ts index 1087dea0f..589571e75 100644 --- a/test/llm-judge-stream.test.ts +++ b/test/llm-judge-stream.test.ts @@ -52,7 +52,7 @@ test('effort reaches the wire beside the response schema and is absent unless re }); await callJudge('score the whole bundle', 'claude-fable-5-1', { max_tokens: 65_536, stream: true, effort: 'medium' }); await callJudge('score the whole bundle', 'claude-fable-5-1', { max_tokens: 65_536, stream: true }); - const bodies = transport.mock.calls.map(call => JSON.parse(call[1].body)); + const bodies = transport.mock.calls.map((call: any[]) => JSON.parse(call[1].body)); expect(bodies[0].output_config).toEqual({ format: { type: 'json_schema', schema: WORKFLOW_JUDGE_RESPONSE_SCHEMA }, effort: 'medium' }); expect(bodies[1].output_config).toEqual({ effort: 'medium' }); expect(bodies[2]).not.toHaveProperty('output_config');