Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/docs/10.4-test-utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ array scryRenderedDOMComponentsWithClass(
)
```

Finds all instances of components in the rendered tree that are DOM components with the class name matching `className`.
Finds all DOM elements of components in the rendered tree that are DOM components with the class name matching `className`.

### findRenderedDOMComponentWithClass

```javascript
ReactComponent findRenderedDOMComponentWithClass(
DOMElement findRenderedDOMComponentWithClass(
ReactComponent tree,
string className
)
Expand All @@ -169,12 +169,12 @@ array scryRenderedDOMComponentsWithTag(
)
```

Finds all instances of components in the rendered tree that are DOM components with the tag name matching `tagName`.
Finds all DOM elements of components in the rendered tree that are DOM components with the tag name matching `tagName`.

### findRenderedDOMComponentWithTag

```javascript
ReactComponent findRenderedDOMComponentWithTag(
DOMElement findRenderedDOMComponentWithTag(
ReactComponent tree,
string tagName
)
Expand Down