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

import {AppProviderComponent as AppProvider} from '../../../providers';
import {CheckboxComponent as Checkbox} from './checkbox.component';
import React from 'react';

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