Jim OBrien 11 years ago
parent
commit
489ff2eb38
  1. 4
      docs/09.4-test-utils.md

4
docs/09.4-test-utils.md

@ -98,7 +98,7 @@ Traverse all components in `tree` and accumulate all components where `test(comp
array scryRenderedDOMComponentsWithClass(ReactComponent tree, string className) 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 ### findRenderedDOMComponentWithClass
@ -114,7 +114,7 @@ Like `scryRenderedDOMComponentsWithClass()` but expects there to be one result,
array scryRenderedDOMComponentsWithTag(ReactComponent tree, string tagName) 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 ### findRenderedDOMComponentWithTag

Loading…
Cancel
Save