mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
11 lines
287 B
TypeScript
11 lines
287 B
TypeScript
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",
|
|
);
|
|
});
|
|
});
|