🎥 Make videos programmatically with React
fix urls
Jonny Burger834b836212cc
diff --git a/tests/ssr/render-media.test.ts b/tests/ssr/render-media.test.tsindex 8f93a3e6ec..3e65899d20 100644--- a/tests/ssr/render-media.test.ts+++ b/tests/ssr/render-media.test.ts@@ -6,7 +6,7 @@ import { existsSync } from "fs";test("Render video with browser instance open", async () => {const puppeteerInstance = await openBrowser("chrome");const compositions = await getCompositions(- "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/mlqtbgiywr/index.html",+ "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/testbed/index.html",{puppeteerInstance,}@@ -26,7 +26,7 @@ test("Render video with browser instance open", async () => {outputLocation: outPath,codec: "h264",serveUrl:- "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/mlqtbgiywr/index.html",+ "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/testbed/index.html",composition: reactSvg,frameRange: [0, 2],puppeteerInstance,@@ -36,7 +36,7 @@ test("Render video with browser instance open", async () => {test("Render video with browser instance not open", async () => {const compositions = await getCompositions(- "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/mlqtbgiywr/index.html"+ "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/testbed/index.html");const reactSvg = compositions.find((c) => c.id === "react-svg");@@ -53,7 +53,7 @@ test("Render video with browser instance not open", async () => {outputLocation: outPath,codec: "h264",serveUrl:- "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/mlqtbgiywr/index.html",+ "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/testbed/index.html",composition: reactSvg,frameRange: [0, 2],});@@ -71,7 +71,7 @@ test("should fail on invalid CRF", async () => {outputLocation: outPath,codec: "h264",serveUrl:- "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/mlqtbgiywr/index.html",+ "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/testbed/index.html",// @ts-expect-errorcrf: "wrong",config: {diff --git a/tests/ssr/render-still.test.ts b/tests/ssr/render-still.test.tsindex 0641144680..f3f98acd88 100644--- a/tests/ssr/render-still.test.ts+++ b/tests/ssr/render-still.test.ts@@ -6,7 +6,7 @@ import { existsSync } from "fs";test("Render video with browser instance open", async () => {const puppeteerInstance = await openBrowser("chrome");const compositions = await getCompositions(- "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/mlqtbgiywr/index.html",+ "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/testbed/index.html",{puppeteerInstance,}@@ -25,7 +25,7 @@ test("Render video with browser instance open", async () => {await renderStill({output: outPath,serveUrl:- "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/mlqtbgiywr/index.html",+ "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/testbed/index.html",composition: reactSvg,puppeteerInstance,});@@ -34,7 +34,7 @@ test("Render video with browser instance open", async () => {test("Render still with browser instance not open and legacy webpack config", async () => {const compositions = await getCompositions(- "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/mlqtbgiywr/index.html"+ "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/testbed/index.html");const reactSvg = compositions.find((c) => c.id === "react-svg");@@ -50,7 +50,7 @@ test("Render still with browser instance not open and legacy webpack config", asawait renderStill({output: outPath,webpackBundle:- "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/mlqtbgiywr/index.html",+ "https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/testbed/index.html",composition: reactSvg,});expect(existsSync(outPath)).toBe(true);