mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
12 lines
252 B
TypeScript
12 lines
252 B
TypeScript
/**
|
|
* Auto-mock of the react-lazyload library for jest
|
|
*
|
|
* These mocks are simple no-ops to make testing lazy-loaded components simpler.
|
|
*/
|
|
|
|
const LazyLoad = ({children}) => children;
|
|
|
|
export const forceCheck = jest.fn();
|
|
|
|
export default LazyLoad;
|