🎥 Make videos programmatically with React
ensure we don't accidentially commit setExperimentalClientSideRenderingEnabled
JonnyBurger2104ff045cd0
diff --git a/packages/it-tests/src/templates/validate-templates.test.ts b/packages/it-tests/src/templates/validate-templates.test.tsindex 6d6f0f0670..a1108de9bc 100644--- a/packages/it-tests/src/templates/validate-templates.test.ts+++ b/packages/it-tests/src/templates/validate-templates.test.ts@@ -124,6 +124,15 @@ describe('Templates should be valid', () => {expect(contents).not.toContain('Config.Preview');});+ it(`${template.shortName} should not use setExperimentalClientSideRenderingEnabled`, async () => {+ const {contents, entryPoint} = await findFile([+ getFileForTemplate(template, 'remotion.config.ts'),+ getFileForTemplate(template, 'remotion.config.js'),+ ]);+ expect(entryPoint).toBeTruthy();+ expect(contents).not.toContain('setExperimentalClientSideRenderingEnabled');+ });+it(`${template.shortName} should use good tsconfig values`, async () => {if (template.shortName.includes('JavaScript')) {return;