diff --git a/frontend/index.html b/frontend/index.html index 4e22599..7d67ac7 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,5 +1,5 @@ - +
@@ -7,6 +7,22 @@ + diff --git a/frontend/src/App.test.tsx b/frontend/src/App.test.tsx index 169abe2..4fb88ab 100644 --- a/frontend/src/App.test.tsx +++ b/frontend/src/App.test.tsx @@ -51,16 +51,20 @@ describe("App routing", () => { }); it("renders DashboardPage at /", async () => { + vi.spyOn(client.projects, "list").mockResolvedValue({ items: [], total: 0 }); + vi.spyOn(client.experiments, "list").mockResolvedValue({ items: [], total: 0 }); + vi.spyOn(client.admin, "getStats").mockResolvedValue({} as Record{label}
+
Loading experiment… @@ -951,7 +951,7 @@ export default function ExperimentPage() { if (error) { return ( -
Loading experiment…
@@ -283,7 +283,7 @@ export default function LivePage() { if (error) { return ( -