From a24967fc25801d651100ffe9109189ab20c3e633 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 8 Nov 2016 13:29:27 -0700 Subject: [PATCH] Fix typos in Shallow Rendering Documentation (#8226) * Fix typos in Shallow Rendering Documentation * Fix another occurrence --- docs/addons-test-utils.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/addons-test-utils.md b/docs/addons-test-utils.md index 83918c60..ddd3a340 100644 --- a/docs/addons-test-utils.md +++ b/docs/addons-test-utils.md @@ -49,9 +49,9 @@ Shallow rendering lets you render a component "one level deep" and assert facts 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. -[`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. +[`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. -After `shadowRenderer.render()` has been called, you can use [`shallowRenderer.getRenderOutput()`](#shallowrenderer.getrenderoutput) to get the shallowly rendered output. +After `shallowRenderer.render()` has been called, you can use [`shallowRenderer.getRenderOutput()`](#shallowrenderer.getrenderoutput) to get the shallowly rendered output. You can then begin to assert facts about the output. For example, if your component's render method returns: