test(webui): assert code block language fallback

This commit is contained in:
Xubin Ren committed 2026-05-31 15:42:40 +08:00
1 parent bdb3a2ded7
commit 15c6abc991
2 files changed
+5

No files matched your search

@@ -24,6 +24,7 @@ describe("MarkdownTextRenderer", () => {
);
expect(screen.getByText("code without language")).toBeInTheDocument();
expect(screen.getByText("text")).toBeInTheDocument();
expect(container.querySelectorAll("pre")).toHaveLength(1);
});