fix(webui): hide SkillHub install counts

This commit is contained in:
Xubin Ren
2026-08-29 15:29:18 +08:00
parent caab883f9f
commit 65f2a6dbf5
2 changed files with 17 additions and 12 deletions
+1
View File
@@ -1201,6 +1201,7 @@ describe("App layout", () => {
expect(screen.getAllByText("SkillHub")).toHaveLength(2);
expect(screen.getAllByText("skills.sh")).toHaveLength(2);
expect(screen.getByText(/14,481 installs \/ 24h/)).toBeInTheDocument();
expect(screen.queryByText(/11,831 installs/)).not.toBeInTheDocument();
fireEvent.click(screen.getByRole("tab", { name: "SkillHub" }));
expect(screen.getByText("ima-skills")).toBeInTheDocument();
expect(screen.queryByText("find-skills")).not.toBeInTheDocument();