(
extra: Partial<Parameters<typeof createMcpAppCallHandler>[0]> = {},
)
| 84 | // The most common fixture: a handler over a single-server `weather` pool. |
| 85 | // `extra` threads through store/allowTool for the tests that need them. |
| 86 | function weatherPoolHandler( |
| 87 | extra: Partial<Parameters<typeof createMcpAppCallHandler>[0]> = {}, |
| 88 | ) { |
| 89 | return createMcpAppCallHandler({ |
| 90 | clients: fakePool({ weather: WEATHER_HTTP }), |
| 91 | ...extra, |
| 92 | }) |
| 93 | } |
| 94 | |
| 95 | describe('createMcpAppCallHandler', () => { |
| 96 | beforeEach(() => { |
no test coverage detected