mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
8 lines
206 B
TypeScript
8 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}</>,
|
||
|
}));
|