fix(webui): restore full-project typechecking

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-20 14:47:38 +08:00
1 parent f869212e7d
commit a1bca7dc50
56 files changed
+622 -583

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ describe("Token usage card", () => {
const plot = container.querySelector("[data-model-usage-plot]")!;
const bars = within(screen.getByRole("group", { name: "Model trends" })).getAllByRole("img");
expect(plot).toContainElement(bars[0]);
const baseline = container.querySelector('[data-model-usage-gridline="2"]')!;
const baseline = container.querySelector<HTMLElement>('[data-model-usage-gridline="2"]')!;
expect(plot).toContainElement(baseline);
expect(baseline.parentElement).toHaveStyle({ top: "100%" });
expect(plot).not.toContainElement(screen.getByText("09-01"));