MCPcopy
hub / github.com/testing-library/react-testing-library / render

Method render

src/__tests__/render.js:80–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 test('supports fragments', () => {
79 class Test extends React.Component {
80 render() {
81 return (
82 <div>
83 <code>DocumentFragment</code> is pretty cool!
84 </div>
85 )
86 }
87 }
88
89 const {asFragment} = render(<Test />)

Callers 6

testPureRenderFunction · 0.45
wrappedRenderFunction · 0.45
wrappedRenderBFunction · 0.45
wrappedRenderCFunction · 0.45
renderFunction · 0.45
renderRootFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected