diff --git a/ui/src/components/IssueDocumentsSection.test.tsx b/ui/src/components/IssueDocumentsSection.test.tsx index 0ce5cb6627d..5f84382b6e6 100644 --- a/ui/src/components/IssueDocumentsSection.test.tsx +++ b/ui/src/components/IssueDocumentsSection.test.tsx @@ -40,6 +40,11 @@ vi.mock("../hooks/useAutosaveIndicator", () => ({ vi.mock("@/lib/router", () => ({ useLocation: () => ({ hash: "" }), + Link: ({ to, children, ...props }: { to: unknown; children?: unknown } & ComponentProps<"a">) => ( + + {children as ComponentProps<"a">["children"]} + + ), })); vi.mock("./MarkdownBody", () => ({