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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(ui): add getCookie to cookieUtils mock in user_dashboard test
Ryan Crabbea23408d9376d
diff --git a/ui/litellm-dashboard/src/components/user_dashboard.test.tsx b/ui/litellm-dashboard/src/components/user_dashboard.test.tsxindex d21369eed3f..4d4213b6805 100644--- a/ui/litellm-dashboard/src/components/user_dashboard.test.tsx+++ b/ui/litellm-dashboard/src/components/user_dashboard.test.tsx@@ -45,6 +45,7 @@ vi.mock("jwt-decode", () => ({// Mock cookie utilityvi.mock("@/utils/cookieUtils", () => ({clearTokenCookies: vi.fn(),+ getCookie: vi.fn().mockReturnValue("fake-jwt-token"),}));// Mock fetchTeams