Skip to content

Commit

Permalink
Merge pull request #979 from cubadomingo/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
ljharb authored Jun 11, 2017
2 parents c5293a7 + ef40ad9 commit 2882aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/containsAnyMatchingElements.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `.containsAnyMatchingElements(nodes) => Boolean`

Returns whether or not one of the given react elements is matching on element in the shallow render tree.
Returns whether or not one of the given react elements is matching an element in the shallow render tree.
It will determine if an element in the wrapper __looks like__ one of the expected elements by checking if all props of the expected element are present on the wrappers element and equal to each other. Props present on the wrapper root node but not supplied in the expected element will be ignored.


Expand Down

0 comments on commit 2882aa8

Please sign in to comment.