1describe('<CatsTable />', () => {
2 const wrapper = mount(
3 <CatsTable cats={cats} />
4 );
5
6 it('renders child correctly', () => {
7 expect(wrapper.find('tbody').children()).to.have.length(cats.length);
8 expect(wrapper.find('tbody').children().find('tr')).to.have.length(cats.length);
9
10 });
11