docs: complete handbook and prepare component verification tasks

This commit is contained in:
maoyingjie
2026-10-27 21:46:42 +08:00
parent 4da00943f1
commit 26df6e88a2
32 changed files with 2207 additions and 39 deletions
+4 -2
View File
@@ -283,12 +283,14 @@ describe("documentation structure", () => {
route.path = "/guide";
await nextTick();
await flushPromises();
expect(w.findAll(".docs-sidebar a")).toHaveLength(4);
expect(w.findAll(".docs-sidebar a")).toHaveLength(
guideGroups.flatMap((group) => group.items).length,
);
expect(
w.get('.docs-sidebar [aria-current="page"]').attributes("href"),
).toBe("/guide");
expect(w.get(".page-navigation .page-next").attributes("href")).toBe(
"/themes",
"/colors",
);
});
});