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

import {AppProviderComponent as AppProvider} from '../../../providers';
import {PaginationComponent as Pagination} from './pagination.component';

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