mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-23 10:08:38 +02:00
create-issue.tsx imports useFileDropZone and FileDropOverlay from
../editor, but the vi.mock("../editor") in create-issue.test.tsx did
not include them. Vitest aborts with "No useFileDropZone export is
defined on the mock" before the test even runs.
Added both missing exports to the mock — FileDropOverlay renders null
and useFileDropZone returns a stable stub — matching the pattern used
in issue-detail.test.tsx.