import type { Token } from "style-dictionary" import { describe, expect, it } from "vitest" import { isShadow } from "./isShadow" describe("isShadow", () => { it("should return true for shadow tokens", () => { const token: Token = { value: "2px 2px 4px rgba(0,0,0,0.5)", type: "shadow", } expect(isShadow(token)).toBe(true) }) it("should return false for non-shadow tokens", () => { const token: Token = { value: "1rem", type: "dimension", } expect(isShadow(token)).toBe(false) }) })