export function mockCodeMirror() { vi.mock('@uiw/react-codemirror', () => ({ __esModule: true, default: ({ value, onChange, readOnly, placeholder, height, className, id, 'data-cy': dataCy, }: { value?: string; onChange?: (value: string) => void; readOnly?: boolean; placeholder?: string; height?: string; className?: string; id?: string; 'data-cy'?: string; }) => (