(next: StreamCommit)
| 40 | } |
| 41 | |
| 42 | function structured(next: StreamCommit) { |
| 43 | const body = entryBody(next) |
| 44 | expect(body.type).toBe("structured") |
| 45 | if (body.type !== "structured") { |
| 46 | throw new Error("expected structured body") |
| 47 | } |
| 48 | |
| 49 | return body.snapshot |
| 50 | } |
| 51 | |
| 52 | describe("run entry body", () => { |
| 53 | test("renders assistant, reasoning, and user entries in their display formats", () => { |
no test coverage detected