mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
4f6609a072
* migrate vitest ui-components * migrate vitest ui-components * fix e2e * cleanup
7 lines
206 B
TypeScript
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}</>,
|
|
}));
|