import { render, screen } from "@testing-library/react"; import { describe, expect, it } from "vitest"; import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, } from "./sheet"; describe("SheetContent", () => { it("exposes the navigation drawer variant as a design-system contract", () => { // Given / When render( App navigation Primary destinations , ); // Then expect( screen.getByRole("dialog", { name: "App navigation" }), ).toHaveAttribute("data-variant", "navigation"); }); });