Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

refactor(ui): drop the explanatory comment from the badge variant test

Yuneng Jiang94e943144ea5
diff --git a/ui/litellm-dashboard/src/components/permissions/MCPServerPermissions.test.tsx b/ui/litellm-dashboard/src/components/permissions/MCPServerPermissions.test.tsx
index 1d8a0a6dd84..c2df945f367 100644
--- a/ui/litellm-dashboard/src/components/permissions/MCPServerPermissions.test.tsx
+++ b/ui/litellm-dashboard/src/components/permissions/MCPServerPermissions.test.tsx
@@ -374,11 +374,6 @@ describe("MCPServerPermissions", () => {
});
it("should use the neutral badge variant unless MCP access is blocked", async () => {
- /**
- * The header badge sits next to the Vector Stores and Agents badges, which both render
- * variant="secondary". "default" renders solid bg-primary (black), so it only belongs on
- * the blocked state, which uses "destructive".
- */
vi.mocked(networking.fetchMCPServers).mockResolvedValue([]);
const { rerender } = render(