🎥 Make videos programmatically with React
test transparent video has audio
Jonny Burger5fee1a592304
diff --git a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts b/packages/lambda/src/test/integration/renders/transparent-webm.test.tsindex 45c3fcffa7..8f3587607e 100644--- a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts+++ b/packages/lambda/src/test/integration/renders/transparent-webm.test.ts@@ -40,8 +40,8 @@ test('Should make a transparent video', async () => {crf: 9,enableChunkOptimization: false,envVariables: {},- frameRange: [0, 12],- framesPerLambda: 8,+ frameRange: [0, 9],+ framesPerLambda: 5,imageFormat: 'png',inputProps: {},logLevel: 'warn',@@ -87,5 +87,6 @@ test('Should make a transparent video', async () => {const probe = await execa('ffprobe', [out]);expect(probe.stderr).toMatch(/ALPHA_MODE(\s+): 1/);expect(probe.stderr).toMatch(/Video: vp8, yuv420p/);+ expect(probe.stderr).toMatch(/Audio: opus, 48000 Hz/);fs.unlinkSync(out);});