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