Fix typos in Shallow Rendering Documentation (#8226)
* Fix typos in Shallow Rendering Documentation * Fix another occurrence
Nate committed
Nov 8, 2016 at 13:29 UTC
2317fcaccb3f255e13f1f72f384eee695bb68830
1 file changed
+2
-2
docs/docs/addons-test-utils.md
+2
-2
@@ -49,9 +49,9 @@ Shallow rendering lets you render a component "one level deep" and assert facts
49
50
Call [`createRenderer()`](#createrenderer) in your tests to create a shallow renderer. You can think of this as a "place" to render the component you're testing, and from which you can extract the component's output.
51
52
-[`shadowRenderer.render()`](#shallowrenderer.render) is similar to [`ReactDOM.render()`](/react/docs/react-dom.html#render) but it doesn't require DOM and only renders a single level deep. This means you can test components in isolated from how their children are implemented.
52
+[`shallowRenderer.render()`](#shallowrenderer.render) is similar to [`ReactDOM.render()`](/react/docs/react-dom.html#render) but it doesn't require DOM and only renders a single level deep. This means you can test components isolated from how their children are implemented.
53
54
-After `shadowRenderer.render()` has been called, you can use [`shallowRenderer.getRenderOutput()`](#shallowrenderer.getrenderoutput) to get the shallowly rendered output.
54
+After `shallowRenderer.render()` has been called, you can use [`shallowRenderer.getRenderOutput()`](#shallowrenderer.getrenderoutput) to get the shallowly rendered output.
55
56
You can then begin to assert facts about the output. For example, if your component's render method returns:
57