From 476a4660769d36eef5f9ccecf24278904a6cd38b Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 31 Aug 2026 16:32:09 +0000 Subject: [PATCH] style: format stream adapter test Co-authored-by: Simon Shi --- src/__tests__/stream.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/__tests__/stream.test.ts b/src/__tests__/stream.test.ts index 273b025..c99bc09 100644 --- a/src/__tests__/stream.test.ts +++ b/src/__tests__/stream.test.ts @@ -290,9 +290,7 @@ describe("streamQoder", () => { it("preserves text emitted before and after a tool call", async () => { const sse = sseEnvelope(chunk({ content: "before" })) + - sseEnvelope( - chunk({ tool_calls: [{ index: 0, id: "call_1", function: { name: "lookup", arguments: "{}" } }] }), - ) + + sseEnvelope(chunk({ tool_calls: [{ index: 0, id: "call_1", function: { name: "lookup", arguments: "{}" } }] })) + sseEnvelope(chunk({ content: " after" })) + sseEnvelope(finishChunk("tool_calls")) + DONE_SSE;