From 485688f8c4f5877c944a8bad7c4c13a448e9b93a Mon Sep 17 00:00:00 2001 From: Roman Pominov Date: Sun, 1 Nov 2015 16:54:41 +0300 Subject: [PATCH] fix shallowRenderer.getRenderOutput() return type in docs --- docs/10.4-test-utils.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/10.4-test-utils.md b/docs/10.4-test-utils.md index f7205b7e..cbbaa9d9 100644 --- a/docs/10.4-test-utils.md +++ b/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: