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

import {AppProviderComponent as AppProvider} from '../../../providers';
import {SwitchComponent as Switch} from './switch.component';
import React from 'react';

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