mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
9 lines
492 B
TypeScript
9 lines
492 B
TypeScript
import { expect, test } from "bun:test"
|
|
import { cssVariants } from "~/component/site/css-variants"
|
|
import variants from "~/component/site/css-variants.json"
|
|
|
|
// The production build drops CSS for every settings value but these (script/css-variants-plugin.ts), so they must
|
|
// be what production renders. Regenerate with `bun script/css-variants.ts`.
|
|
test("css-variants.json matches the default settings", () => {
|
|
expect(variants as Record<string, string | null>).toEqual(cssVariants())
|
|
})
|