mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-22 01:37:50 +00:00
use json block for mcp tool output (and re-enable markdown rendering) (#635)
This commit is contained in:
@@ -768,7 +768,8 @@ describe('DiscoveredMCPTool', () => {
|
||||
timeout: 10 * 60 * 1000,
|
||||
},
|
||||
);
|
||||
const expectedOutput = JSON.stringify(mcpResult, null, 2);
|
||||
const expectedOutput =
|
||||
'```json\n' + JSON.stringify(mcpResult, null, 2) + '\n```';
|
||||
expect(result.llmContent).toBe(expectedOutput);
|
||||
expect(result.returnDisplay).toBe(expectedOutput);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user