So I\'m writing a test for my Item component and I tried to render the ItemCard component and then use that wrapper to create a snapshot but it returns an empty
ItemCard
You can just use mount and debug function like this :
it('Should render Component', () => { const wrapper = mount(); expect(wrapper.debug()).toMatchSnapshot(); });