🎥 Make videos programmatically with React
Update rendering.test.ts
JonnyBurger019ac5b91ce6
diff --git a/packages/it-tests/src/rendering/rendering.test.ts b/packages/it-tests/src/rendering/rendering.test.tsindex b830ffbc60..f872a342db 100644--- a/packages/it-tests/src/rendering/rendering.test.ts+++ b/packages/it-tests/src/rendering/rendering.test.ts@@ -462,32 +462,36 @@ test({timeout: 15000},);-test('Should render a still that uses the staticFile() API and should apply props', async () => {- const out = outputPath.replace('.mp4', '.png');- await Bun.write('props.json', JSON.stringify({flag: true}));- const task = await execa(- 'pnpm',- [- 'exec',- 'remotion',- 'still',- 'build',- 'static-demo',- out,- '--log=verbose',- `--props={\"flag\": true}`,- ],- {- cwd: path.join(process.cwd(), '..', 'example'),- // @ts-expect-error staticfile- env: {- REMOTION_FLAG: 'hi',+test(+ 'Should render a still that uses the staticFile() API and should apply props',+ async () => {+ const out = outputPath.replace('.mp4', '.png');+ await Bun.write('props.json', JSON.stringify({flag: true}));+ const task = await execa(+ 'pnpm',+ [+ 'exec',+ 'remotion',+ 'still',+ 'build',+ 'static-demo',+ out,+ '--log=verbose',+ `--props={\"flag\": true}`,+ ],+ {+ cwd: path.join(process.cwd(), '..', 'example'),+ // @ts-expect-error staticfile+ env: {+ REMOTION_FLAG: 'hi',+ },},- },- );- expect(task.exitCode).toBe(0);- fs.unlinkSync(out);-});+ );+ expect(task.exitCode).toBe(0);+ fs.unlinkSync(out);+ },+ {timeout: 15000},+);test('Dynamic duration should work and audio separation',