Simplify method signature. (#15114)

This commit is contained in:
Tommaso Sciortino
2025-12-15 13:18:04 -08:00
committed by GitHub
parent d236df5b21
commit bb0c0d8ee3
17 changed files with 184 additions and 213 deletions

View File

@@ -218,9 +218,9 @@ describe('simple-mcp-server', () => {
// 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(
'Use the `add` tool to calculate 5+10 and output only the resulting number.',
);
const output = await rig.run({
args: 'Use the `add` tool to calculate 5+10 and output only the resulting number.',
});
const foundToolCall = await rig.waitForToolCall('add');