diff --git a/tests/features/workflows/pages.test.ts b/tests/features/workflows/pages.test.ts index 2528101..16316be 100644 --- a/tests/features/workflows/pages.test.ts +++ b/tests/features/workflows/pages.test.ts @@ -100,6 +100,19 @@ function stubFetch(fetcher: Mock) { const path = String(url) if (path.endsWith('/generation-models')) return jsonResponse(imageCatalog) if (path.endsWith('/creative-profile')) return jsonResponse(generationProfile(fixture.id)) + if (path.endsWith('/duration-budget')) + return jsonResponse({ + projectId: fixture.id, + mode: 'auto', + episodeCount: 1, + targetDurationSeconds: null, + episodeMinSeconds: null, + episodeMaxSeconds: null, + episodes: [{ episodeNo: 1, targetDurationSeconds: null, plannedSeconds: null, shotSeconds: null, shotCount: 0, audit: null }], + targetWarningCount: 0, + willCallModel: false, + willModifyAssets: false + }) if (path.endsWith('/storyboard/duration-audit')) return jsonResponse({ projectId: fixture.id,