react-lazyload.tsx 281 B

1234567891011
  1. /**
  2. * Auto-mock of the react-lazyload library for jest
  3. *
  4. * These mocks are simple no-ops to make testing lazy-loaded components simpler.
  5. */
  6. const LazyLoad = ({children}: {children: React.ReactNode}) => children;
  7. export const forceCheck = jest.fn();
  8. export default LazyLoad;