import React from 'react';
import renderer from 'react-test-renderer';
import BlueCheckBox from '@assets/svg/BlueCheckBox';

test('renders correctly BlueCheckBox, checked:true', () => {
  const tree = renderer
    .create(<BlueCheckBox checked={true} width="10" />)
    .toJSON();
  expect(tree).toMatchSnapshot();
});

test('renders correctly BlueCheckBox, checked:false', () => {
  const tree = renderer
    .create(<BlueCheckBox checked={false} width="20" />)
    .toJSON();
  expect(tree).toMatchSnapshot();
});
