Skip to content

Commit

Permalink
Fix typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pfhayes committed Oct 3, 2017
1 parent 8b48474 commit ca85a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/hostNodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ Returns a new wrapper with only host nodes.
#### Examples

```jsx
const wrapper = mount(<div><MyComponent className="foo" /><div className="foo" /></div>);
const wrapper = shallow(<div><MyComponent className="foo" /><div className="foo" /></div>);
expect(wrapper.find('.foo').hostNodes()).to.have.length(1);
```

0 comments on commit ca85a94

Please sign in to comment.