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: a hub's examples row reaches its studio page directly

Adarsh977f75e22c92
diff --git a/tests/studio-examples.test.ts b/tests/studio-examples.test.ts
index e0cddf38..d884e642 100644
--- a/tests/studio-examples.test.ts
+++ b/tests/studio-examples.test.ts
@@ -155,8 +155,7 @@ describe("the studios' examples", () => {
expect(mixed).toMatch(/<How onStart=\{[^}]+\} cloud=\{[^}]+\} reveal=\{how\} \/>/);
expect(mixed).toMatch(/\{!!reveal\?\.tiles\.length && <HowReveal row=\{reveal\} \/>\}/);
// A hub hands its row to its first mode's studio (the hub's own URL), as the Studio pages do.
- expect(read("components", "studio", "mode-switch-studio.tsx")).toMatch(/<ModeStudio [^>]*examples=\{examples\} \/>/);
- expect(read("components", "studio", "mode-studio.tsx")).toMatch(/<StudioPage .*examples=\{examples\} \/>/);
+ expect(read("components", "studio", "mode-switch-studio.tsx")).toMatch(/<StudioPage [^>]*examples=\{examples\} \/>/);
});
it("shows only once the feed is known to be empty, and a Video tile picks its move through the composer", () => {