MCPcopy Create free account
hub / github.com/emwalker/digraph / render

Function render

next/test-utils/render.tsx:5–11  ·  view source on GitHub ↗
(ui: React.ReactNode)

Source from the content-addressed store, hash-verified

3import { theme } from '../theme';
4
5export function render(ui: React.ReactNode) {
6 return testingLibraryRender(<>{ui}</>, {
7 wrapper: ({ children }: { children: React.ReactNode }) => (
8 <MantineProvider theme={theme}>{children}</MantineProvider>
9 ),
10 });
11}

Callers 2

index.test.tsxFile · 0.90
customRenderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected