MCPcopy
hub / github.com/azouaoui-med/react-pro-sidebar / customRender

Function customRender

tests/testUtils.tsx:18–21  ·  view source on GitHub ↗
(
  ui: React.ReactElement,
  options?: Omit<RenderOptions, 'wrapper'>,
)

Source from the content-addressed store, hash-verified

16};
17
18const customRender: CustomRender = (
19 ui: React.ReactElement,
20 options?: Omit<RenderOptions, 'wrapper'>,
21) => render(ui, { wrapper: AllTheProviders, ...options });
22
23export * from '@testing-library/react';
24

Callers 2

Menu.test.tsxFile · 0.90
Sidebar.test.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected