Skip to content

Commit

Permalink
[Docs] Link to containsMatchingElement
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuav authored and ljharb committed Jan 26, 2018
1 parent 7a97af4 commit f9cec19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api/ReactWrapper/contains.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ expect(wrapper.contains([
when you are calling it you are calling it with a ReactElement or a JSX expression.
- Keep in mind that this method determines equality based on the equality of the node's children as
well.
- Every attribute of the wrapped element must be matched by the element you're checking. To permit (and ignore) additional attributes on the wrapped element, use containsMatchingElement() instead.

0 comments on commit f9cec19

Please sign in to comment.