summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
diff options
context:
space:
mode:
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);
});