(durationSeconds: number)
| 45 | } |
| 46 | |
| 47 | function createTranscript(durationSeconds: number) { |
| 48 | return [ |
| 49 | { |
| 50 | start: 0, |
| 51 | duration: durationSeconds, |
| 52 | text: 'A short transcript segment for testing.', |
| 53 | }, |
| 54 | ]; |
| 55 | } |
| 56 | |
| 57 | test('retryProviderBackedTopicGeneration tries another configured provider before giving up', async () => { |
| 58 | const attemptedProviders: string[] = []; |
no outgoing calls
no test coverage detected