import React from "react"; import { test, expect } from "vitest"; import { render } from "@testing-library/react"; import { Tabs } from "."; import { Item } from "../../Collection"; test("matches snapshot", () => { const res = render(

Tab One

Tab Two

Tab Three

Tab One Content

Tab Two Content

Tab Three Content

); expect(res.asFragment()).toMatchSnapshot(); });