Test Renderer: TestRenderer.create()

Create a TestRenderer instance with the passed React element. It doesn’t use the real DOM, but it still fully renders the component tree into memory so you can make assertions about it. The returned instance has the following methods and properties.

Related concepts

Test Renderer: TestRenderer.create() — Structure map

Clickable & Draggable!

Test Renderer: TestRenderer.create() — Related pages: