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: Home counts the templates everyone can open

Adarshc3bb31ce99f2
diff --git a/tests/home-showcase.test.ts b/tests/home-showcase.test.ts
index a9b5fde4..a69efae0 100644
--- a/tests/home-showcase.test.ts
+++ b/tests/home-showcase.test.ts
@@ -200,7 +200,7 @@ describe("Home's showcase", () => {
expect(facts.partners).toBe(modelCounts().cloud);
expect(facts.partners).toBe(visible.filter((m) => m.engine === "cloud" && !m.engines?.includes("open")).length);
expect(facts.cinemaMoves).toBe(CAMERA_MOVES.length);
- expect(facts.adTemplates).toBe(TEMPLATES.length);
+ expect(facts.adTemplates).toBe(TEMPLATES.filter((t) => !t.ownerOnly).length);
expect(facts.mixedLooks).toBe(EFFECTS.filter((e) => e.category === "Mixed Media").length);
expect(facts.audioTools).toBe(HUB_MODES.audio.length);
expect(facts.skills).toBe(fs.readdirSync(path.join(root, "skills")).filter((d) => fs.existsSync(path.join(root, "skills", d, "SKILL.md"))).length);