(overrides = {})
| 14 | }; |
| 15 | |
| 16 | function makeTool(overrides = {}) { |
| 17 | return { |
| 18 | id: "tool:1", |
| 19 | type: "tool", |
| 20 | title: "read_file", |
| 21 | toolName: "read_file", |
| 22 | buzzToolName: null, |
| 23 | status: "completed", |
| 24 | args: { path: "src/App.tsx" }, |
| 25 | result: "", |
| 26 | isError: false, |
| 27 | timestamp: "2026-06-14T19:00:00.000Z", |
| 28 | startedAt: "2026-06-14T19:00:00.000Z", |
| 29 | completedAt: "2026-06-14T19:00:01.000Z", |
| 30 | descriptor: baseDescriptor, |
| 31 | ...overrides, |
| 32 | }; |
| 33 | } |
| 34 | |
| 35 | test("buildFileReadContent returns null for non file-read render class", () => { |
| 36 | assert.equal( |
no outgoing calls
no test coverage detected