managarten/apps/memoro/apps/audio-server/src/test-setup.ts
Till JS c582f164ba feat(memoro/audio-server): add vitest setup and 25 API + config tests
- Health endpoint, service key auth, 404 handler tests
- Transcribe and append endpoint validation tests
- Azure speech service config tests (getAvailableSpeechServices, pickRandomService)
- Export app for testability

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 16:31:28 +02:00

3 lines
134 B
TypeScript

process.env.NODE_ENV = 'test';
process.env.SERVICE_KEY = 'test-service-key';
process.env.MEMORO_SERVER_URL = 'http://localhost:3015';