🎥 Make videos programmatically with React
Internal: Consolidate package publish checks
JonnyBurger7b4dcde6162f
diff --git a/packages/it-tests/src/monorepo/no-dev-files.test.ts b/packages/it-tests/src/monorepo/no-dev-files.test.tsindex 8c4b120a5e..71aa111dd8 100644--- a/packages/it-tests/src/monorepo/no-dev-files.test.ts+++ b/packages/it-tests/src/monorepo/no-dev-files.test.ts@@ -89,11 +89,28 @@ const assertNoDevFilesPublished = async (pkgPath: string) => {}};-for (const pkg of packages) {- test.concurrent(- 'should not publish any dev files for @remotion/' + pkg.pkg,- async () => {- await assertNoDevFilesPublished(pkg.path);- },- );-}+test(+ 'should not publish any dev files',+ async () => {+ const results = await Promise.allSettled(+ packages.map((pkg) => assertNoDevFilesPublished(pkg.path)),+ );+ const errors = results.flatMap((result, index) => {+ if (result.status === 'fulfilled') {+ return [];+ }++ return [+ `@remotion/${packages[index].pkg}: ${+ result.reason instanceof Error+ ? result.reason.message+ : String(result.reason)+ }`,+ ];+ });+ if (errors.length > 0) {+ throw new Error(errors.join('\n'));+ }+ },+ {timeout: 40000},+);