Skip to content

Commit

Permalink
[Docs] minor spelling fix to mount, shallow, findWhere
Browse files Browse the repository at this point in the history
  • Loading branch information
hstoebel authored and ljharb committed Apr 10, 2017
1 parent 85447ed commit eb9699b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/api/ReactWrapper/findWhere.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `.findWhere(fn) => ReactWrapper`

Finds every node in the render tree that return true for the provided predicate function.
Finds every node in the render tree that returns true for the provided predicate function.


#### Arguments
Expand Down
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/findWhere.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `.findWhere(fn) => ShallowWrapper`

Finds every node in the render tree that return true for the provided predicate function.
Finds every node in the render tree that returns true for the provided predicate function.


#### Arguments
Expand Down
2 changes: 1 addition & 1 deletion docs/api/mount.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('<Foo />', () => {
Find every node in the render tree that matches the provided selector.

#### [`.findWhere(predicate) => ReactWrapper`](ReactWrapper/findWhere.md)
Find every node in the render tree that return true for the provided predicate function.
Find every node in the render tree that returns true for the provided predicate function.

#### [`.filter(selector) => ReactWrapper`](ReactWrapper/filter.md)
Remove nodes in the current wrapper that do not match the provided selector.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/shallow.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ is not called on the component, and `componentDidUpdate` is not called after
Find every node in the render tree that matches the provided selector.

#### [`.findWhere(predicate) => ShallowWrapper`](ShallowWrapper/findWhere.md)
Find every node in the render tree that return true for the provided predicate function.
Find every node in the render tree that returns true for the provided predicate function.

#### [`.filter(selector) => ShallowWrapper`](ShallowWrapper/filter.md)
Remove nodes in the current wrapper that do not match the provided selector.
Expand Down

0 comments on commit eb9699b

Please sign in to comment.