diff options
| author | Bryan Morgan <[email protected]> | 2025-06-08 19:07:05 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-08 19:07:05 -0400 |
| commit | 152af28a347186517c46fc0d9ae88eb6fa883267 (patch) | |
| tree | 258dc6fdc04e744c11faceb2212056a020d87d2c /packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | |
| parent | 31c14ea78f19b3e2720150943855ea8d15fdeaff (diff) | |
Bryanmorgan/add tool source description (#856)
Diffstat (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.test.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts index 3fcdff97..aa1e701f 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts @@ -423,8 +423,8 @@ Add any other context about the problem here. it('should display only Gemini CLI tools (filtering out MCP tools)', async () => { // Create mock tools - some with serverName property (MCP tools) and some without (Gemini CLI tools) const mockTools = [ - { name: 'tool1' }, - { name: 'tool2' }, + { name: 'tool1', displayName: 'Tool1' }, + { name: 'tool2', displayName: 'Tool2' }, { name: 'mcp_tool1', serverName: 'mcp-server1' }, { name: 'mcp_tool2', serverName: 'mcp-server1' }, ]; @@ -447,7 +447,7 @@ Add any other context about the problem here. 2, expect.objectContaining({ type: MessageType.INFO, - text: 'Available Gemini CLI tools:\n\ntool1\ntool2', + text: 'Available Gemini CLI tools:\n\nTool1\nTool2', }), expect.any(Number), ); |
