Skip to content

🎥 Make videos programmatically with React

something is wrong with caching

Jonny Burgerbbcaa7c7bf2d
diff --git a/packages/it-tests/src/bundle/bundle-studio.test.ts b/packages/it-tests/src/bundle/bundle-studio.test.ts
index f6a7acb03a..0c77007a9a 100644
--- a/packages/it-tests/src/bundle/bundle-studio.test.ts
+++ b/packages/it-tests/src/bundle/bundle-studio.test.ts
@@ -1,11 +1,18 @@
import path from "path";
import { expect, test } from "vitest";
import { RenderInternals, openBrowser } from "@remotion/renderer";
+import { existsSync } from "fs";
test("Bundle studio", async () => {
const browser = openBrowser("chrome");
const tab = await (await browser).newPage(() => null, "info", false);
+ const folder = path.join(process.cwd(), "..", "example", "build");
+ const indexHtmlExists = existsSync(path.join(folder, "index.html"));
+ if (!indexHtmlExists) {
+ throw new Error("index.html does not exist in the build folder");
+ }
+
const { port, close } = await RenderInternals.serveStatic(
path.join(process.cwd(), "..", "example", "build"),
{
diff --git a/packages/it-tests/src/rendering/frame-accuracy.test.ts b/packages/it-tests/src/rendering/frame-accuracy.test.ts
index b31945a148..987c53791f 100644
--- a/packages/it-tests/src/rendering/frame-accuracy.test.ts
+++ b/packages/it-tests/src/rendering/frame-accuracy.test.ts
@@ -27,6 +27,7 @@ const getMissedFramesforCodec = async (
"exec",
"remotion",
"render",
+ "build",
`video-testing-${codec}${offthread ? "-offthread" : ""}`,
outputPath,
"--image-format",