style: format stream adapter test

Co-authored-by: Simon Shi <simonsmh@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-08-31 16:32:09 +00:00
co-authored by Simon Shi
parent b4f504094e
commit 476a466076
+1 -3
View File
@@ -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;