Skip to content

🎥 Make videos programmatically with React

let's run it again

Jonny Burger1d3b9fb24d97
diff --git a/packages/create-video/src/test/validate-templates.test.ts b/packages/create-video/src/test/validate-templates.test.ts
index 613bc0a1e3..f244e72bda 100644
--- a/packages/create-video/src/test/validate-templates.test.ts
+++ b/packages/create-video/src/test/validate-templates.test.ts
@@ -139,23 +139,19 @@ describe('Templates should be valid', () => {
12000
);
- it(
- template.shortName + 'should use the new config file format',
- async () => {
- const {contents, entryPoint} = await findFile([
- getFileForTemplate(template, 'remotion.config.ts'),
- getFileForTemplate(template, 'remotion.config.js'),
- ]);
- expect(entryPoint).toBeTruthy();
- expect(contents).not.toContain('Config.Rendering');
- expect(contents).not.toContain('Config.Bundling');
- expect(contents).not.toContain('Config.Log');
- expect(contents).not.toContain('Config.Puppeteer');
- expect(contents).not.toContain('Config.Output');
- expect(contents).not.toContain('Config.Preview');
- },
- 12000
- );
+ it(`${template.shortName} should use the new config file format`, async () => {
+ const {contents, entryPoint} = await findFile([
+ getFileForTemplate(template, 'remotion.config.ts'),
+ getFileForTemplate(template, 'remotion.config.js'),
+ ]);
+ expect(entryPoint).toBeTruthy();
+ expect(contents).not.toContain('Config.Rendering');
+ expect(contents).not.toContain('Config.Bundling');
+ expect(contents).not.toContain('Config.Log');
+ expect(contents).not.toContain('Config.Puppeteer');
+ expect(contents).not.toContain('Config.Output');
+ expect(contents).not.toContain('Config.Preview');
+ }, 12000);
it(
template.shortName + ' should use noUnusedLocals',
async () => {