fix: update Sidebar tests to match new config structure

Updated test expectations to include is_session_item property that was added to DEFAULT_INSPECTOR_CONFIG structure.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jerome 2025-06-13 16:19:14 +01:00
commit ace1cf642a
No known key found for this signature in database

View file

@ -519,6 +519,7 @@ describe("Sidebar Environment Variables", () => {
label: "Request Timeout", label: "Request Timeout",
description: "Timeout for requests to the MCP server (ms)", description: "Timeout for requests to the MCP server (ms)",
value: 5000, value: 5000,
is_session_item: false,
}, },
}), }),
); );
@ -544,6 +545,7 @@ describe("Sidebar Environment Variables", () => {
description: description:
"Set this if you are running the MCP Inspector Proxy on a non-default address. Example: http://10.1.1.22:5577", "Set this if you are running the MCP Inspector Proxy on a non-default address. Example: http://10.1.1.22:5577",
value: "http://localhost:8080", value: "http://localhost:8080",
is_session_item: false,
}, },
}), }),
); );
@ -569,6 +571,7 @@ describe("Sidebar Environment Variables", () => {
description: description:
"Maximum total timeout for requests sent to the MCP server (ms) (Use with progress notifications)", "Maximum total timeout for requests sent to the MCP server (ms) (Use with progress notifications)",
value: 10000, value: 10000,
is_session_item: false,
}, },
}), }),
); );
@ -591,6 +594,7 @@ describe("Sidebar Environment Variables", () => {
label: "Request Timeout", label: "Request Timeout",
description: "Timeout for requests to the MCP server (ms)", description: "Timeout for requests to the MCP server (ms)",
value: 0, value: 0,
is_session_item: false,
}, },
}), }),
); );
@ -637,6 +641,7 @@ describe("Sidebar Environment Variables", () => {
label: "Request Timeout", label: "Request Timeout",
description: "Timeout for requests to the MCP server (ms)", description: "Timeout for requests to the MCP server (ms)",
value: 3000, value: 3000,
is_session_item: false,
}, },
}), }),
); );