Skip to content

Commit

Permalink
[Docs] shallow: fix childAt
Browse files Browse the repository at this point in the history
The section **Related Methods** method says that method `.children()` must return a new wrapper with the type `ReactWrapper`, but if we follow the link, we'll see that method `.children()` returns a new wrapper with the type `ShallowWrapper`.
  • Loading branch information
sergsavoniuk authored and ljharb committed May 23, 2019
1 parent aedb208 commit 6fa7e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/childAt.md
Expand Up @@ -25,4 +25,4 @@ expect(wrapper.find('ul').childAt(0).type()).to.equal('li');
- [`.parents() => ShallowWrapper`](parents.md)
- [`.parent() => ShallowWrapper`](parent.md)
- [`.closest(selector) => ShallowWrapper`](closest.md)
- [`.children() => ReactWrapper`](children.md)
- [`.children() => ShallowWrapper`](children.md)

0 comments on commit 6fa7e64

Please sign in to comment.