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]

test(ui): quiet vitest CI logs by silencing passing-test console output

Yuneng Jiang0115bfa52343
diff --git a/ui/litellm-dashboard/src/components/UsagePage/components/UsagePageView.tsx b/ui/litellm-dashboard/src/components/UsagePage/components/UsagePageView.tsx
index 432a499a0f6..37c2a25c6a6 100644
--- a/ui/litellm-dashboard/src/components/UsagePage/components/UsagePageView.tsx
+++ b/ui/litellm-dashboard/src/components/UsagePage/components/UsagePageView.tsx
@@ -81,8 +81,6 @@ const UsagePage: React.FC<UsagePageProps> = ({ teams, organizations }) => {
const { data: customers = [] } = useCustomers();
const { data: agentsResponse } = useAgents();
const { data: currentUser } = useCurrentUser();
- console.log(`currentUser: ${JSON.stringify(currentUser)}`);
- console.log(`currentUser max budget: ${currentUser?.max_budget}`);
const isAdmin = all_admin_roles.includes(userRole || "");
const canViewTagUsage = isAdmin || internalUserRoles.includes(userRole || "");
diff --git a/ui/litellm-dashboard/vitest.config.ts b/ui/litellm-dashboard/vitest.config.ts
index d2b6e7b43bf..01c451933b5 100644
--- a/ui/litellm-dashboard/vitest.config.ts
+++ b/ui/litellm-dashboard/vitest.config.ts
@@ -8,6 +8,7 @@ export default defineConfig({
globals: true,
css: true, // lets you import CSS/modules without extra mocks
testTimeout: 30000,
+ silent: process.env.CI ? "passed-only" : false,
coverage: {
provider: "v8",
reporter: ["text", "lcov"],