Skip to content

Commit

Permalink
Fix typos in ShallowWrapper/forEach docs example
Browse files Browse the repository at this point in the history
- Replace `s` with `node` within iteration
- Adds missing `.` within `expect(/**/).to.be.true`
  • Loading branch information
erikthedeveloper committed Dec 29, 2015
1 parent 2961f66 commit dd16110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/forEach.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const wrapper = shallow(
);

wrapper.find('.foo').forEach(function (node) {
expect(s.hasClass('foo')).to.be true;
expect(node.hasClass('foo')).to.be.true;
});
```

Expand Down

0 comments on commit dd16110

Please sign in to comment.