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

import {AppProviderComponent as AppProvider} from '../../../providers';
import {WavyIconComponent as WavyIcon} from './wavy-icon.component';
import React from 'react';

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