Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Tests: the gallery cover check builds its controls without the cover flag

Adarshc5d7be52bbe6
diff --git a/tests/kinetic-poster-editor.test.ts b/tests/kinetic-poster-editor.test.ts
index af72616d..1c745980 100644
--- a/tests/kinetic-poster-editor.test.ts
+++ b/tests/kinetic-poster-editor.test.ts
@@ -53,7 +53,9 @@ describe("gallery covers", () => {
expect(lead!.type === "group" && lead!.opacity, id).toBe(1);
expect(p.evaluate(COVER_LEAD + 0.01).nodes.some((n) => n.type === "group" && n.id === "lead"), id).toBe(false);
// The tile's still is the rest frame, unchanged.
- const plain = await plan({ ...r, controls: { ...r.controls, cover: undefined } as Recipe["controls"] });
+ const controls = { ...r.controls };
+ delete controls.cover;
+ const plain = await plan({ ...r, controls });
expect(p.evaluate(p.rest).nodes.length).toBeGreaterThan(0);
expect(plain.evaluate(0).nodes.some((n) => n.type === "group" && n.id === "lead")).toBe(false);
}