Convert text to OGG file
This commit is contained in:
@ -11,9 +11,9 @@ describe('textToSpeech', () => {
|
||||
it('should create an audio file with speech marks', async () => {
|
||||
const input: TextToSpeechInput = {
|
||||
id: generateFakeUuid(),
|
||||
title: 'Hello World',
|
||||
text: 'Hello World',
|
||||
text: '<speak><mark name="readability-page-1"/>The rumor mill suggests that Google may be looking to kill off its game streaming platform, Stadia, for good before the end of the year.</speak>',
|
||||
engine: 'standard',
|
||||
textType: 'ssml',
|
||||
}
|
||||
const output = await createAudioWithSpeechMarks(input)
|
||||
expect(output.audioUrl).to.be.a('string')
|
||||
|
||||
Reference in New Issue
Block a user