diff --git a/test/synth.js b/test/synth.js index e264cff..fddad81 100644 --- a/test/synth.js +++ b/test/synth.js @@ -185,7 +185,7 @@ test('AWS speech synth tests', async(t) => { language: 'en-US', voice: 'Joey', 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}`); @@ -199,7 +199,7 @@ test('AWS speech synth tests', async(t) => { language: 'en-US', voice: 'Joey', 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}`); } catch (err) {