(result: Awaited<ReturnType<Client["callTool"]>>)
| 180 | (result.structuredContent ?? {}) as Record<string, unknown>; |
| 181 | |
| 182 | const textOf = (result: Awaited<ReturnType<Client["callTool"]>>): string => |
| 183 | (result.content as Array<{ type: string; text: string }>)[0].text; |
| 184 | |
| 185 | /** Assert source is available through both MCP result channels. */ |
| 186 | const expectArtifactSource = (result: Awaited<ReturnType<Client["callTool"]>>, code: string) => { |
no outgoing calls
no test coverage detected