Fix tests to match updated timeout description

This commit is contained in:
Basil Hosmer 2025-10-16 17:25:51 -04:00
commit e74cbf0d40
No known key found for this signature in database

View file

@ -913,7 +913,8 @@ describe("Sidebar", () => {
expect.objectContaining({ expect.objectContaining({
MCP_SERVER_REQUEST_TIMEOUT: { MCP_SERVER_REQUEST_TIMEOUT: {
label: "Request Timeout", label: "Request Timeout",
description: "Timeout for requests to the MCP server (ms)", description:
"Client-side timeout (ms) - Inspector will cancel requests after this time",
value: 5000, value: 5000,
is_session_item: false, is_session_item: false,
}, },
@ -988,7 +989,8 @@ describe("Sidebar", () => {
expect.objectContaining({ expect.objectContaining({
MCP_SERVER_REQUEST_TIMEOUT: { MCP_SERVER_REQUEST_TIMEOUT: {
label: "Request Timeout", label: "Request Timeout",
description: "Timeout for requests to the MCP server (ms)", description:
"Client-side timeout (ms) - Inspector will cancel requests after this time",
value: 0, value: 0,
is_session_item: false, is_session_item: false,
}, },
@ -1035,7 +1037,8 @@ describe("Sidebar", () => {
expect.objectContaining({ expect.objectContaining({
MCP_SERVER_REQUEST_TIMEOUT: { MCP_SERVER_REQUEST_TIMEOUT: {
label: "Request Timeout", label: "Request Timeout",
description: "Timeout for requests to the MCP server (ms)", description:
"Client-side timeout (ms) - Inspector will cancel requests after this time",
value: 3000, value: 3000,
is_session_item: false, is_session_item: false,
}, },