import React from 'react'; import { render } from 'enzyme'; import List from '..'; describe('List', () => { it('renders empty list', () => { const wrapper = render( } /> ); expect(wrapper).toMatchSnapshot(); }); });