Deprecated: Use .exists() instead.
Returns whether or not the wrapper is empty.
Boolean
: whether or not the wrapper is empty.
const wrapper = mount(<div className="some-class" />); expect(wrapper.find('.other-class').isEmpty()).to.equal(true);
© 2015 Airbnb, Inc.
Licensed under the MIT License.
https://airbnb.io/enzyme/docs/api/ReactWrapper/isEmpty.html