diff options
Diffstat (limited to 'packages/server/src/tools/mcp-tool.test.ts')
| -rw-r--r-- | packages/server/src/tools/mcp-tool.test.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/server/src/tools/mcp-tool.test.ts b/packages/server/src/tools/mcp-tool.test.ts index e28cf586..331696f7 100644 --- a/packages/server/src/tools/mcp-tool.test.ts +++ b/packages/server/src/tools/mcp-tool.test.ts @@ -55,6 +55,7 @@ describe('DiscoveredMCPTool', () => { it('should set properties correctly and augment description', () => { const tool = new DiscoveredMCPTool( mockMcpClient, + 'mock-mcp-server', toolName, baseDescription, inputSchema, @@ -78,6 +79,7 @@ describe('DiscoveredMCPTool', () => { const customTimeout = 5000; const tool = new DiscoveredMCPTool( mockMcpClient, + 'mock-mcp-server', toolName, baseDescription, inputSchema, @@ -92,6 +94,7 @@ describe('DiscoveredMCPTool', () => { it('should call mcpClient.callTool with correct parameters and default timeout', async () => { const tool = new DiscoveredMCPTool( mockMcpClient, + 'mock-mcp-server', toolName, baseDescription, inputSchema, @@ -122,6 +125,7 @@ describe('DiscoveredMCPTool', () => { const customTimeout = 15000; const tool = new DiscoveredMCPTool( mockMcpClient, + 'mock-mcp-server', toolName, baseDescription, inputSchema, @@ -146,6 +150,7 @@ describe('DiscoveredMCPTool', () => { it('should propagate rejection if mcpClient.callTool rejects', async () => { const tool = new DiscoveredMCPTool( mockMcpClient, + 'mock-mcp-server', toolName, baseDescription, inputSchema, |
