Enzye verifique si funciona

describe('when x', () => {
  it('check if child renders', () => {
    const wrapper = shallow(<Parent />);
    expect(wrapper.find(ChildComponentName).length).toEqual(1);
  });
});
Tense Trout