Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

✅ test: fix tests snapshot (#10434)

Arvin Xua5a8bde48379
diff --git a/src/libs/mcp/__tests__/__snapshots__/index.test.ts.snap b/src/libs/mcp/__tests__/__snapshots__/index.test.ts.snap
index c553431eb8b..0a6326aaee8 100644
--- a/src/libs/mcp/__tests__/__snapshots__/index.test.ts.snap
+++ b/src/libs/mcp/__tests__/__snapshots__/index.test.ts.snap
@@ -5,6 +5,8 @@ exports[`MCPClient > Stdio Transport > should list tools via stdio 1`] = `
{
"description": "Echoes back a message with 'Hello' prefix",
"inputSchema": {
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
"properties": {
"message": {
"description": "The message to echo",
@@ -21,6 +23,7 @@ exports[`MCPClient > Stdio Transport > should list tools via stdio 1`] = `
{
"description": "Lists all available tools and methods",
"inputSchema": {
+ "$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object",
},
@@ -29,6 +32,8 @@ exports[`MCPClient > Stdio Transport > should list tools via stdio 1`] = `
{
"description": "Adds two numbers",
"inputSchema": {
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
"properties": {
"a": {
"description": "The first number",