From a8da98c9da791ccf87cba81e637978fb9d6b74db Mon Sep 17 00:00:00 2001 From: "Rachel D. Cartwright" Date: Sun, 15 May 2016 13:46:03 -0700 Subject: [PATCH] make test utils format consistent (#6777) --- docs/10.4-test-utils.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/10.4-test-utils.md b/docs/10.4-test-utils.md index dc03f8def..6300fc379 100644 --- a/docs/10.4-test-utils.md +++ b/docs/10.4-test-utils.md @@ -142,7 +142,8 @@ Traverse all components in `tree` and accumulate all components where `test(comp ```javascript array scryRenderedDOMComponentsWithClass( - ReactComponent tree, string className + ReactComponent tree, + string className ) ``` @@ -196,7 +197,8 @@ Finds all instances of components with type equal to `componentClass`. ```javascript ReactComponent findRenderedComponentWithType( - ReactComponent tree, function componentClass + ReactComponent tree, + function componentClass ) ```