summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
diff options
context:
space:
mode:
authorBilly Biggs <[email protected]>2025-06-15 23:09:53 -0700
committerGitHub <[email protected]>2025-06-15 23:09:53 -0700
commit40fbb61a1ba3b0b16c0695c845d986b15768e0af (patch)
treef36013525ef2d5c558db6d69a45638406a0d2a23 /packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
parent197704c630cbf85aa4d113c7a62e305827043910 (diff)
Update /tools desc to show the name of each tool as known to the model (#1091)
Diffstat (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.test.ts')
-rw-r--r--packages/cli/src/ui/hooks/slashCommandProcessor.test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
index 2316bc86..d9712d6e 100644
--- a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
+++ b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
@@ -606,8 +606,8 @@ Add any other context about the problem here.
// Should only show tool1 and tool2, not the MCP tools
const message = mockAddItem.mock.calls[1][0].text;
- expect(message).toContain('\u001b[36mTool1\u001b[0m');
- expect(message).toContain('\u001b[36mTool2\u001b[0m');
+ expect(message).toContain('Tool1');
+ expect(message).toContain('Tool2');
expect(commandResult).toBe(true);
});
@@ -664,9 +664,9 @@ Add any other context about the problem here.
});
const message = mockAddItem.mock.calls[1][0].text;
- expect(message).toContain('\u001b[36mTool1\u001b[0m');
+ expect(message).toContain('Tool1');
expect(message).toContain('Description for Tool1');
- expect(message).toContain('\u001b[36mTool2\u001b[0m');
+ expect(message).toContain('Tool2');
expect(message).toContain('Description for Tool2');
expect(commandResult).toBe(true);
});