import '@testing-library/jest-dom';
import renderer from 'react-test-renderer';
import React from 'react';

import {AppProviderComponent as AppProvider} from '../../../providers';
import {ProgressCircleComponent as ProgressCircle} from './progress-circle.component';

describe('ProgressCircle Component', () => {
    it('Render without crash and correctly', () => {
        const tree = renderer.create(
            <AppProvider>
                <ProgressCircle label='Active Users' value={50} />
            </AppProvider>,
        );
        expect(tree).toMatchSnapshot();
    });
});
