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

import {AppProviderComponent as AppProvider} from '../../../providers';
import {GaugeChartComponent as GaugeChart} from './gauge-chart.component';

describe('GaugeChart Component', () => {
    it('renders without crashing and correctly', () => {
        const tree = renderer.create(
            <AppProvider>
                <GaugeChart />
            </AppProvider>,
        );
        expect(tree).toMatchSnapshot();
    });
});
