// @flow
import React from 'react';
import { renderSnapshot } from '../../../../utils/tests';

import type { RemoveProps } from './remove.proptypes';
import { Remove } from './index';

const DEFAULT_PROPS: RemoveProps = {
  size: 3,
  color: 'white',
};

describe('Remove', () => {
  describe('snapshot', () => {
    it('matches the previous snapshot', () => {
      const remove = renderSnapshot(<Remove {...DEFAULT_PROPS} />);
      expect(remove).toMatchSnapshot();
    });
  });
});
