blob: e058418d00741cc6e1b8c64223926e945648cec7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
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",
);
});
});
|