test(e2e): add Gemini TTS coverage to provider matrix#751
Conversation
Wire Gemini TTS into the existing E2E test infrastructure. - Add Gemini TTS adapter factory in media-providers - Add Gemini generateContent audio mock - Add Gemini to TTS feature support - Exercise PCM-to-WAV normalization using raw PCM audio responses This extends existing TTS E2E coverage without changing runtime behavior or public APIs.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR adds end-to-end test support for Gemini TTS by declaring the provider in the feature matrix, wiring the TTS adapter factory with test configuration, and implementing a mock Gemini ChangesGemini TTS End-to-End Testing
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install timed out. The project may have too many dependencies for the sandbox. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎯 Changes
Gemini TTS is already implemented and covered by unit tests, but it was not participating in the E2E TTS provider matrix because the provider-specific E2E wiring was incomplete.
This PR adds Gemini TTS to the existing E2E infrastructure by:
media-providers.tsgenerateContentaudio mock inglobal-setup.tsgeminito the TTS provider support matrixaudio/L16;codec=pcm;rate=24000)No runtime behavior, public APIs, or package functionality are changed. This PR only extends test coverage for an existing feature.
Verification
✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit