MCPcopy Index your code
hub / github.com/callstack/react-native-testing-library / wrap

Function wrap

src/render.tsx:49–49  ·  view source on GitHub ↗
(element: React.ReactElement)

Source from the content-addressed store, hash-verified

47 };
48
49 const wrap = (element: React.ReactElement) => (Wrapper ? <Wrapper>{element}</Wrapper> : element);
50 const renderer = createRoot(rendererOptions);
51
52 await act(() => {

Callers 2

renderFunction · 0.85
rerenderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…