Skip to content

Commit eb9699b

Browse files
hstoebelljharb
authored andcommitted
[Docs] minor spelling fix to mount, shallow, findWhere
1 parent 85447ed commit eb9699b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/api/ReactWrapper/findWhere.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `.findWhere(fn) => ReactWrapper`
22

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

55

66
#### Arguments

docs/api/ShallowWrapper/findWhere.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `.findWhere(fn) => ShallowWrapper`
22

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

55

66
#### Arguments

docs/api/mount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('<Foo />', () => {
6363
Find every node in the render tree that matches the provided selector.
6464

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

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

docs/api/shallow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ is not called on the component, and `componentDidUpdate` is not called after
6262
Find every node in the render tree that matches the provided selector.
6363

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

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

0 commit comments

Comments
 (0)