mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
refactor: animate params over time
This commit is contained in:
@@ -0,0 +1,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",
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user