import {render} from '@testing-library/react';

import BlogPagination from './blog-pagination';

jest.mock("next/router", () => ({
  useRouter() {
    return {
      route: "/",
      pathname: "",
      query: "",
      asPath: "",
    };
  },
}));
describe('BlogPagination', () => {
  it('should render successfully', () => {
    const {baseElement} = render(<BlogPagination paginator={{pagination: {}}} />);
    expect(baseElement).toBeTruthy();
  });
});
