mirror of
https://github.com/HeyPuter/puter.git
synced 2026-07-23 15:31:46 +00:00
Adds offline VideoGenerationDriver.test.ts covering provider selection/dispatch (args.provider, model-id resolution across the unified catalog, Context.driverName fallback), parameter validation (seconds + dimension snapping to model.durationSeconds / model.dimensions, string coercion), error mapping (provider HttpErrors pass through, SDK errors don't bill), and metering propagation (driver-level dispatch reaches the provider's incrementUsage). Mocks each provider's SDK boundary against a real PuterServer wired with credentials for every video provider. Closes #2991 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>