Returns a new wrapper with only host nodes.
ShallowWrapper
: A new wrapper that wraps the filtered nodes.
const wrapper = shallow(<div><MyComponent className="foo" /><div className="foo" /></div>);
expect(wrapper.find('.foo').hostNodes()).to.have.lengthOf(1);