.isEmpty() => Boolean
Deprecated: Use .exists() instead.
Возвращает, пустой ли обёртку.
Возвращает
Boolean: пуста ли обёртка.
Пример
const wrapper = shallow(<div className="some-class" />);
expect(wrapper.find('.other-class').isEmpty()).to.equal(true);
© 2015 Airbnb, Inc.
Licensed under the MIT License.
https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/isEmpty.html