import { it, describe, expect } from "vitest"; import { render } from "@testing-library/react"; import { Pagination, Table } from "../"; import { DataTable } from "."; describe("Data Table", () => { it("should match the snapshot", () => { const component = render( A test table Header 1 Header 2 Cell 1 Cell 2 Total $2,500.00 console.log("previous")} /> console.log("next")} /> console.log("last")} /> ); expect(component.baseElement).toMatchSnapshot(); }); });