From ccfc53e7c56a6866c0d8974cb66312afb0fc4f49 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Thu, 1 Jan 2026 17:27:28 -0800 Subject: [PATCH] Fixing test --- ui/litellm-dashboard/src/components/public_model_hub.test.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/litellm-dashboard/src/components/public_model_hub.test.tsx b/ui/litellm-dashboard/src/components/public_model_hub.test.tsx index 47a44fa5147..5b669e5d63e 100644 --- a/ui/litellm-dashboard/src/components/public_model_hub.test.tsx +++ b/ui/litellm-dashboard/src/components/public_model_hub.test.tsx @@ -27,6 +27,10 @@ vi.mock("./networking", async (importOriginal) => { }; }); +vi.mock("./navbar", () => ({ + default: vi.fn(() =>
Navbar Component
), +})); + beforeAll(() => { Object.defineProperty(window, "matchMedia", { writable: true,