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
use debug() method after the wrapper
it('renders and matches the snapshot', () => { const wrapper = shallow(); // console.log(wrapper.debug()); expect(wrapper.debug()).toMatchSnapshot(); });