import React from 'react'; import { shallow } from 'enzyme'; import StoryProductWithHero from '.'; import 'jest-styled-components'; const props = { product: { name: 'Merino Base Layer', description: 'Available in short sleeve, long sleeve & sleeveless.', image: 'https://static.rapha.cc/i/rapha/BLS02SS_FUD_product_H119_01', hero: 'https://i1.adis.ws/i/rapha/2_3_H118_location_classic_texas_9942', link: 'Buy now', url: 'https://www.rapha.cc/product/BLS02SS' }, direction: 'ltr' }; describe('Story Product Intro', () => { test('renders', () => { const wrapper = shallow(); expect(wrapper).toMatchSnapshot(); }); });