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

fix: add ffmpeg scan timeout constant to videoGen local test mock (#12965)

[._.]/ Adam Eivy01e03eb12d30
diff --git a/server/services/videoGen/local.test.js b/server/services/videoGen/local.test.js
index 0b7829e96d..9f507528ab 100644
--- a/server/services/videoGen/local.test.js
+++ b/server/services/videoGen/local.test.js
@@ -265,6 +265,7 @@ const probeMockImpl = vi.hoisted(() => ({
}));
vi.mock('../../lib/ffmpeg.js', async () => ({
+ FFMPEG_SCAN_TIMEOUT_MS: 15 * 60 * 1000,
findFfmpeg: vi.fn(async () => '/usr/bin/ffmpeg'),
vfrSyncArgs: vi.fn(async () => ['-fps_mode', 'vfr']),
safeUnder: vi.fn((base, file) => (file ? join(base, file) : null)),