🎥 Make videos programmatically with React
fix no caret test
Jonny Burgeref7db82c6327
diff --git a/packages/it-tests/src/rendering/no-caret.test.ts b/packages/it-tests/src/rendering/no-caret.test.tsindex 9f96dcefd6..491942e27a 100644--- a/packages/it-tests/src/rendering/no-caret.test.ts+++ b/packages/it-tests/src/rendering/no-caret.test.ts@@ -14,10 +14,12 @@ test("Should not have carets in Remotion versions", async () => {continue;}- const packageJson = fs.readFileSync(- path.join(packagesDir, pkg, "package.json"),- "utf-8"- );+ const packageJsonPath = path.join(packagesDir, pkg, "package.json");+ if (!fs.existsSync(packageJsonPath)) {+ continue;+ }++ const packageJson = fs.readFileSync(packageJsonPath, "utf-8");const json = JSON.parse(packageJson);if (!json.dependencies) {continue;