Remove ctrl-t binding for /mcp commands (#11372)

This commit is contained in:
Tommaso Sciortino
2025-10-17 09:42:09 -07:00
committed by GitHub
parent 0ded546a09
commit 795e5134c7
14 changed files with 5 additions and 52 deletions
@@ -29,7 +29,6 @@ describe('<ContextSummaryDisplay />', () => {
geminiMdFileCount: 1,
contextFileNames: ['GEMINI.md'],
mcpServers: { 'test-server': { command: 'test' } },
showToolDescriptions: false,
ideContext: {
workspaceState: {
openFiles: [{ path: '/a/b/c' }],
@@ -41,7 +40,7 @@ describe('<ContextSummaryDisplay />', () => {
const { lastFrame } = renderWithWidth(120, baseProps);
const output = lastFrame();
expect(output).toContain(
'Using: 1 open file (ctrl+g to view) | 1 GEMINI.md file | 1 MCP server (ctrl+t to view)',
'Using: 1 open file (ctrl+g to view) | 1 GEMINI.md file | 1 MCP server',
);
// Check for absence of newlines
expect(output.includes('\n')).toBe(false);
@@ -54,7 +53,7 @@ describe('<ContextSummaryDisplay />', () => {
' Using:',
' - 1 open file (ctrl+g to view)',
' - 1 GEMINI.md file',
' - 1 MCP server (ctrl+t to view)',
' - 1 MCP server',
];
const actualLines = output.split('\n');
expect(actualLines).toEqual(expectedLines);