0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00
verdaccio/packages/ui-components/vitest/react-markdown.tsx

8 lines
206 B
TypeScript
Raw Normal View History

import React from 'react';
import { vi } from 'vitest';
// Mock react-markdown globally
vi.mock('react-markdown', () => ({
default: ({ children }: { children: React.ReactNode }) => <>{children}</>,
}));