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
fix(ui-tests): add Typography to antd mock in create_key_button test
Yuneng Jiang7057d53862c5
diff --git a/ui/litellm-dashboard/src/components/organisms/create_key_button.test.tsx b/ui/litellm-dashboard/src/components/organisms/create_key_button.test.tsxindex 3ad59cb3693..bd139df4833 100644--- a/ui/litellm-dashboard/src/components/organisms/create_key_button.test.tsx+++ b/ui/litellm-dashboard/src/components/organisms/create_key_button.test.tsx@@ -155,6 +155,15 @@ vi.mock("antd", () => {const Button = ({ children, htmlType, ...props }: { children?: any; htmlType?: string }) =>React.createElement("button", { ...props, type: htmlType ?? props.type }, children);+ const Typography = ({ children, ...props }: { children?: any }) =>+ React.createElement("div", props, children);+ Typography.Text = ({ children, ...props }: { children?: any }) =>+ React.createElement("span", props, children);+ Typography.Paragraph = ({ children, ...props }: { children?: any }) =>+ React.createElement("p", props, children);+ Typography.Title = ({ children, ...props }: { children?: any }) =>+ React.createElement("h1", props, children);+return {Button,Form,@@ -171,6 +180,7 @@ vi.mock("antd", () => {Switch,Tag,Tooltip,+ Typography,};});