Files
OpenCut/apps/web/src/params/__tests__/channel-layout.test.ts
T

11 lines
287 B
TypeScript
Raw Normal View History

2026-04-29 10:37:39 +02:00
import { describe, expect, test } from "bun:test";
import { formatLinearRgba } from "@/params";
describe("channel layout", () => {
test("formats linear animated colors as hex", () => {
expect(formatLinearRgba({ color: { r: 1, g: 0, b: 0, a: 1 } })).toBe(
"#ff0000",
);
});
});