summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/mcpCommand.test.ts
diff options
context:
space:
mode:
authorHarold Mciver <[email protected]>2025-08-04 17:38:23 -0400
committerGitHub <[email protected]>2025-08-04 21:38:23 +0000
commit99ba2f6424b8873df3857f03b729e236710bbc32 (patch)
tree73f6b72d6fdc7d546114705b4deb133aadbd4cdb /packages/cli/src/ui/commands/mcpCommand.test.ts
parent93f8fe3671babbd3065d7a80b9e5ac50c42042da (diff)
Update MCP client to connect to servers with only prompts (#5290)
Diffstat (limited to 'packages/cli/src/ui/commands/mcpCommand.test.ts')
-rw-r--r--packages/cli/src/ui/commands/mcpCommand.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/ui/commands/mcpCommand.test.ts b/packages/cli/src/ui/commands/mcpCommand.test.ts
index 2a6401b3..ad04cb69 100644
--- a/packages/cli/src/ui/commands/mcpCommand.test.ts
+++ b/packages/cli/src/ui/commands/mcpCommand.test.ts
@@ -212,9 +212,9 @@ describe('mcpCommand', () => {
);
expect(message).toContain('server2_tool1');
- // Server 3 - Disconnected
+ // Server 3 - Disconnected but with cached tools, so shows as Ready
expect(message).toContain(
- '🔴 \u001b[1mserver3\u001b[0m - Disconnected (1 tools cached)',
+ '🟢 \u001b[1mserver3\u001b[0m - Ready (1 tool)',
);
expect(message).toContain('server3_tool1');