This commit is contained in:
Quan HL
2025-08-14 17:19:46 +07:00
parent 1c76f74b4a
commit 55431ee511

View File

@@ -185,7 +185,7 @@ test('AWS speech synth tests', async(t) => {
language: 'en-US', language: 'en-US',
voice: 'Joey', voice: 'Joey',
text: 'This is a test. This is only a test', text: 'This is a test. This is only a test',
disableTtsCache: true, renderForCaching: true,
}); });
t.ok(!opts.servedFromCache, `successfully synthesized aws audio to ${opts.filePath}`); t.ok(!opts.servedFromCache, `successfully synthesized aws audio to ${opts.filePath}`);
@@ -199,7 +199,7 @@ test('AWS speech synth tests', async(t) => {
language: 'en-US', language: 'en-US',
voice: 'Joey', voice: 'Joey',
text: 'This is a test. This is only a test', text: 'This is a test. This is only a test',
disableTtsCache: true, renderForCaching: true,
}); });
t.ok(opts.servedFromCache, `successfully retrieved aws audio from cache ${opts.filePath}`); t.ok(opts.servedFromCache, `successfully retrieved aws audio from cache ${opts.filePath}`);
} catch (err) { } catch (err) {