fix(tests): enable and update prompt for MCP add tool test (#10850)

This commit is contained in:
Sandy Tao
2025-10-09 14:16:59 -07:00
committed by GitHub
parent 6d84d4dc9c
commit a8379d1f4b

View File

@@ -210,11 +210,12 @@ describe('simple-mcp-server', () => {
}
});
//TODO -https://github.com/google-gemini/gemini-cli/issues/10738
it.skip('should add two numbers', async () => {
it('should add two numbers', async () => {
// Test directory is already set up in before hook
// Just run the command - MCP server config is in settings.json
const output = await rig.run('add 5 and 10');
const output = await rig.run(
'Use the `add` tool to calculate 5+10 and output only the resulting number.',
);
const foundToolCall = await rig.waitForToolCall('add');