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

import {AppProviderComponent as AppProvider} from '../../../providers';
import {AvatarComponent as Avatar} from './avatar.component';

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