Skip to content

Commit

Permalink
Fix typo in ReactTestUtils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstHardy committed Oct 20, 2021
1 parent 1681f15 commit aea9833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-dom/src/test-utils/ReactTestUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function findAllInRenderedTree(inst, test) {
}

/**
* Finds all instance of components in the rendered tree that are DOM
* Finds all instances of components in the rendered tree that are DOM
* components with the class name matching `className`.
* @return {array} an array of all the matches.
*/
Expand Down Expand Up @@ -233,7 +233,7 @@ function findRenderedDOMComponentWithClass(root, className) {
}

/**
* Finds all instance of components in the rendered tree that are DOM
* Finds all instances of components in the rendered tree that are DOM
* components with the tag name matching `tagName`.
* @return {array} an array of all the matches.
*/
Expand Down

0 comments on commit aea9833

Please sign in to comment.