Skip to content

Commit

Permalink
Update contains.md
Browse files Browse the repository at this point in the history
Finish unfinished sentence in docs
  • Loading branch information
rafaeleyng committed Jan 11, 2016
1 parent 3286134 commit a5f8dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ReactWrapper/contains.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ expect(wrapper.contains(<div className="foo bar" />)).to.equal(true);
#### Common Gotchas

- `.contains()` expects a ReactElement, not a selector (like many other methods). Make sure that
when you are calling it you are calling it with a
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.

0 comments on commit a5f8dbd

Please sign in to comment.