0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/packages/ui-components/vitest/react-markdown.tsx
Juan Picado 4f6609a072
final migration to vitest remove jest (#4978)
* migrate vitest ui-components

* migrate vitest ui-components

* fix e2e

* cleanup
2024-12-07 21:48:32 +01:00

7 lines
206 B
TypeScript

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