Merge pull request #1985 from jimobrien/master
Fix typo in test utils documentation
This commit is contained in:
commit
320d72c735
|
@ -98,7 +98,7 @@ Traverse all components in `tree` and accumulate all components where `test(comp
|
|||
array scryRenderedDOMComponentsWithClass(ReactComponent tree, string className)
|
||||
```
|
||||
|
||||
Finds all instance of components in the rendered tree that are DOM components with the class name matching `className`.
|
||||
Finds all instances of components in the rendered tree that are DOM components with the class name matching `className`.
|
||||
|
||||
### findRenderedDOMComponentWithClass
|
||||
|
||||
|
@ -114,7 +114,7 @@ Like `scryRenderedDOMComponentsWithClass()` but expects there to be one result,
|
|||
array scryRenderedDOMComponentsWithTag(ReactComponent tree, string tagName)
|
||||
```
|
||||
|
||||
Finds all instance of components in the rendered tree that are DOM components with the tag name matching `tagName`.
|
||||
Finds all instances of components in the rendered tree that are DOM components with the tag name matching `tagName`.
|
||||
|
||||
### findRenderedDOMComponentWithTag
|
||||
|
||||
|
|
Loading…
Reference in New Issue