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