createRenderer function

  1. @JS('React.addons.TestUtils.createRenderer')
ReactShallowRenderer createRenderer()

Returns a ReactShallowRenderer instance

More info on using shallow rendering: https://reactjs.org/docs/test-renderer.html

Implementation

@JS('React.addons.TestUtils.createRenderer')
external ReactShallowRenderer createRenderer();