Browse Source

Merge pull request #5356 from rpominov/patch-1

fix shallowRenderer.getRenderOutput() return type in docs
main
Ben Alpert 9 years ago
parent
commit
33acce9993
  1. 2
      docs/10.4-test-utils.md

2
docs/10.4-test-utils.md

@ -217,7 +217,7 @@ shallowRenderer.render(
Similar to `ReactDOM.render`.
```javascript
ReactComponent shallowRenderer.getRenderOutput()
ReactElement shallowRenderer.getRenderOutput()
```
After `render` has been called, returns shallowly rendered output. You can then begin to assert facts about the output. For example, if your component's render method returns:

Loading…
Cancel
Save