import React from 'react'; import Icon from '../../components/Icon'; import { shallow } from '../enzyme'; describe('Icon', () => { it('should be defined', () => { expect(Icon).toBeDefined(); }); it('should render correctly', () => { const tree = shallow(); expect(tree).toMatchSnapshot(); }); });