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

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

    it('is inverted', () => {
      const checkmark = renderSnapshot(<Checkmark inverted />);
      expect(checkmark).toMatchSnapshot();
    });
  });
});
