Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: stub the film style catalog in the Music Video page suite (#10254)

[._.]/ Adam Eivydb7c572d9335
diff --git a/client/src/pages/MusicVideo.test.jsx b/client/src/pages/MusicVideo.test.jsx
index b65d5cebc0..6564467ded 100644
--- a/client/src/pages/MusicVideo.test.jsx
+++ b/client/src/pages/MusicVideo.test.jsx
@@ -164,6 +164,12 @@ vi.mock('../services/socket', () => ({
const pushSocket = (event, payload) => act(async () => {
for (const fn of socketHandlers.get(event) || []) fn(payload);
});
+// The Compose stage's Film style picker reads the catalog from apiCodeAnimation.
+vi.mock('../services/apiCodeAnimation.js', async (importOriginal) => ({
+ ...(await importOriginal()),
+ listFilmStyles: vi.fn(async () => []),
+ getFilmStyle: vi.fn(async () => null),
+}));
vi.mock('../services/apiUniverseBuilder.js', () => ({ getUniverse: vi.fn(), listUniverseNames: vi.fn(() => Promise.resolve([])) }));
vi.mock('../lib/downloadBlob.js', () => ({ downloadBlob: vi.fn() }));
vi.mock('../services/apiSystem.js', () => ({