(tool: AnyToolDefinition, mockContext: McpContext)
| 660 | } |
| 661 | |
| 662 | function createHandler(tool: AnyToolDefinition, mockContext: McpContext) { |
| 663 | return new ToolHandler( |
| 664 | tool, |
| 665 | parseConfig(), |
| 666 | async () => mockContext, |
| 667 | sinon.spy(), |
| 668 | ); |
| 669 | } |
| 670 | |
| 671 | it('serializes exclusive tools', async () => { |
| 672 | const mockContext = createContext(); |
no test coverage detected