diff --git a/src/components/Project/AddDocumentDialog.test.tsx b/src/components/Project/AddDocumentDialog.test.tsx index b0b0fef1bc..91a630f9cc 100644 --- a/src/components/Project/AddDocumentDialog.test.tsx +++ b/src/components/Project/AddDocumentDialog.test.tsx @@ -23,6 +23,24 @@ vi.mock("@/providers/AnalyticsProvider", () => ({ useAnalytics: () => ({ track }), })); +vi.mock("@/components/shared/CodeViewer/CodeEditor", () => ({ + default: ({ + value, + onChange, + options, + }: { + value: string; + onChange: (value: string) => void; + options: { ariaLabel: string }; + }) => ( +