Browse Source

make test utils format consistent (#6777)

main
Rachel D. Cartwright 9 years ago
committed by Jim
parent
commit
a8da98c9da
  1. 6
      docs/10.4-test-utils.md

6
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
)
```

Loading…
Cancel
Save