import React from 'react'; import { shallow } from 'enzyme'; import Image from '.'; import 'jest-styled-components'; const Img = 'https://images.ctfassets.net/aagggu2xeezl/5vS7tZ47tj9BmyjLqAixIk/41c33ec048e1c4a9bb2006fe2f7c1ef4/2_3_H118_location_classic_texas_9942.jpg'; describe('Image', () => { test('renders', () => { const wrapper = shallow({Img}); expect(wrapper).toMatchSnapshot(); }); });