fix(webui): separate file cards from media previews
This commit is contained in:
1 parent
d6cc08f335
commit
0b22c1875a
21 files changed
+432
-44
No files matched your search
@@ -291,7 +291,7 @@ describe("MarkdownTextRenderer", () => {
|
||||
it("renders markdown links with file-looking names as file attachments", () => {
|
||||
render(<MarkdownTextRenderer></MarkdownTextRenderer>);
|
||||
|
||||
expect(screen.getByLabelText("File attachment")).toHaveTextContent("index.html");
|
||||
expect(screen.getByRole("link", { name: "Download index.html" })).toHaveTextContent("index.html");
|
||||
expect(screen.queryByRole("img", { name: "index.html" })).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user