import React from 'react';
import renderer from 'react-test-renderer';
import Icon from './index';

describe('Icon', () => {
  test('it renders correctly', () => {
    const component = renderer.create(
      <Icon type="done" />,
    );
    const tree = component.toJSON();
    expect(tree).toMatchSnapshot();
  });
});
