import { render } from "@testing-library/react"; import { expect, it, describe } from "vitest"; import { List } from "."; describe("List", () => { describe("Snapshots", () => { it("should match snapshot", () => { const res = render( Item 1 Item 2 ); expect(res).toMatchSnapshot(); }); }); });