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): budget DOM-structure assertions in dashboard tests
Yuneng Jiang847d737b8e93
diff --git a/ui/litellm-dashboard/eslint-budgets.json b/ui/litellm-dashboard/eslint-budgets.jsonindex bbf69c4a77a..d986722c3b3 100644--- a/ui/litellm-dashboard/eslint-budgets.json+++ b/ui/litellm-dashboard/eslint-budgets.json@@ -4,5 +4,8 @@"complexity": { "max": 140, "target": 80 },"max-depth": { "max": 70, "target": 30 },"local/no-large-inline-object-arg": { "max": 559, "target": 300 },- "local/no-long-condition-chain": { "max": 265, "target": 120 }+ "local/no-long-condition-chain": { "max": 265, "target": 120 },+ "testing-library/no-container": { "max": 150, "target": 50 },+ "testing-library/no-node-access": { "max": 760, "target": 500 },+ "testing-library/prefer-screen-queries": { "max": 221, "target": 0 }}diff --git a/ui/litellm-dashboard/eslint.config.mjs b/ui/litellm-dashboard/eslint.config.mjsindex 23cc5096bb1..f5e3b23b3ec 100644--- a/ui/litellm-dashboard/eslint.config.mjs+++ b/ui/litellm-dashboard/eslint.config.mjs@@ -104,10 +104,13 @@ const eslintConfig = [plugins: { "testing-library": testingLibrary, "jest-dom": jestDom },rules: {"testing-library/await-async-queries": "error",+ "testing-library/no-container": "warn",+ "testing-library/no-node-access": "warn","testing-library/no-wait-for-multiple-assertions": "error","testing-library/no-wait-for-side-effects": "error","testing-library/prefer-find-by": "error","testing-library/prefer-presence-queries": "error",+ "testing-library/prefer-screen-queries": "warn","jest-dom/prefer-checked": "error","jest-dom/prefer-empty": "error","jest-dom/prefer-enabled-disabled": "error",