Skip to content

Commit ace1cf6

Browse files
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 <[email protected]>
1 parent 35cbec2 commit ace1cf6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

client/src/components/__tests__/Sidebar.test.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ describe("Sidebar Environment Variables", () => {
519519
label: "Request Timeout",
520520
description: "Timeout for requests to the MCP server (ms)",
521521
value: 5000,
522+
is_session_item: false,
522523
},
523524
}),
524525
);
@@ -544,6 +545,7 @@ describe("Sidebar Environment Variables", () => {
544545
description:
545546
"Set this if you are running the MCP Inspector Proxy on a non-default address. Example: http://10.1.1.22:5577",
546547
value: "http://localhost:8080",
548+
is_session_item: false,
547549
},
548550
}),
549551
);
@@ -569,6 +571,7 @@ describe("Sidebar Environment Variables", () => {
569571
description:
570572
"Maximum total timeout for requests sent to the MCP server (ms) (Use with progress notifications)",
571573
value: 10000,
574+
is_session_item: false,
572575
},
573576
}),
574577
);
@@ -591,6 +594,7 @@ describe("Sidebar Environment Variables", () => {
591594
label: "Request Timeout",
592595
description: "Timeout for requests to the MCP server (ms)",
593596
value: 0,
597+
is_session_item: false,
594598
},
595599
}),
596600
);
@@ -637,6 +641,7 @@ describe("Sidebar Environment Variables", () => {
637641
label: "Request Timeout",
638642
description: "Timeout for requests to the MCP server (ms)",
639643
value: 3000,
644+
is_session_item: false,
640645
},
641646
}),
642647
);

0 commit comments

Comments
 (0)