import { render } from "@testing-library/react";
import { Pagination } from "./index";
import { describe, expect, it, vi } from "vitest";
describe("Pagination", () => {
describe("should match the snapshot", () => {
it("default", () => {
const component = render(
1
2
3
console.log("last")} />
);
expect(component.baseElement).toMatchSnapshot();
});
it("label", () => {
const component = render(
);
expect(component.baseElement).toMatchSnapshot();
});
it("form", () => {
const component = render(
);
expect(component.baseElement).toMatchSnapshot();
});
});
});