Skip to content

🎥 Make videos programmatically with React

make some tests obsolete

Jonny Burgerfaf9e1a54202
diff --git a/packages/it-tests/src/templates/validate-templates.test.ts b/packages/it-tests/src/templates/validate-templates.test.ts
index 005fa3491e..4412153935 100644
--- a/packages/it-tests/src/templates/validate-templates.test.ts
+++ b/packages/it-tests/src/templates/validate-templates.test.ts
@@ -24,7 +24,7 @@ const findFile = async (options: string[]) => {
describe('Templates should be valid', () => {
for (const template of FEATURED_TEMPLATES) {
- it(template.shortName + ' should have a valid package.json', async () => {
+ it(`${template.shortName} should have a valid package.json`, async () => {
const packageJson = getFileForTemplate(template, 'package.json');
const res = await fetch(packageJson, {});
@@ -163,12 +163,5 @@ describe('Templates should be valid', () => {
]);
expect(contents).toInclude('noUnusedLocals');
});
- it(template.shortName + ' should have a good .vscode setting', async () => {
- const {contents} = await findFile([
- getFileForTemplate(template, '.vscode/settings.json'),
- ]);
- const json = JSON.parse(contents as string);
- expect(json['editor.codeActionsOnSave']).toBe(undefined);
- });
}
});