Test Renderer: testRenderer.getInstance()

Return the instance corresponding to the root element, if available. This will not work if the root element is a function component because they don’t have instances.

Test Renderer: testRenderer.getInstance() — Structure map

Clickable & Draggable!

Test Renderer: testRenderer.getInstance() — Related pages: