test(webui): assert code block language fallback

This commit is contained in:
Xubin Ren
2026-05-31 15:42:40 +08:00
parent bdb3a2ded7
commit 15c6abc991
2 changed files with 5 additions and 0 deletions
@@ -24,6 +24,7 @@ describe("MarkdownTextRenderer", () => {
);
expect(screen.getByText("code without language")).toBeInTheDocument();
expect(screen.getByText("text")).toBeInTheDocument();
expect(container.querySelectorAll("pre")).toHaveLength(1);
});