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