import React from 'react';
import renderWithTheme from '../../../testUtils/renderWithTheme';

import { Wrapper, Info } from '../StyledProgressCircle';

describe('Wrapper', () => {
  it.each`
    size
    ${'small'}
    ${'medium'}
  `('has $size style', ({ size }) => {
    const { container } = renderWithTheme(<Wrapper themeSize={size} />);

    expect(container.firstChild).toMatchSnapshot();
  });
});

describe('Info', () => {
  it('has correct style', () => {
    const { container } = renderWithTheme(<Info />);

    expect(container.firstChild).toMatchSnapshot();
  });
});
