selectTriggerStyle.test.ts 342 B

12345678910
  1. import { readFileSync } from "node:fs";
  2. import { describe, expect, it } from "vitest";
  3. describe("SelectTrigger styles", () => {
  4. it("does not clip its background to the padding box", () => {
  5. const source = readFileSync("packages/ui/src/components/ui/select.tsx", "utf8");
  6. expect(source).not.toContain("bg-clip-padding");
  7. });
  8. });