🎥 Make videos programmatically with React
increase timeout for test
Jonny Burgerd535af993b31
diff --git a/packages/it-tests/src/rendering/context-providing.test.ts b/packages/it-tests/src/rendering/context-providing.test.tsdeleted file mode 100644index e45d21f717..0000000000--- a/packages/it-tests/src/rendering/context-providing.test.ts+++ /dev/null@@ -1,31 +0,0 @@-import fs from "fs";-import execa from "execa";-import path from "path";-import { afterEach, beforeEach, test, expect } from "bun:test";--const outputPath = path.join(process.cwd(), "packages/example/out.png");--beforeEach(() => {- if (fs.existsSync(outputPath)) {- fs.unlinkSync(outputPath);- }-});--afterEach(() => {- if (fs.existsSync(outputPath)) {- fs.unlinkSync(outputPath);- }-});--test("Should be able to render video that was wrapped in context", async () => {- await execa(- "pnpm",- ["exec", "remotion", "still", "wrapped-in-context", outputPath],- {- cwd: path.join(process.cwd(), "..", "example"),- }- );-- const exists = fs.existsSync(outputPath);- expect(exists).toBe(true);-});diff --git a/packages/it-tests/src/rendering/rendering.test.ts b/packages/it-tests/src/rendering/rendering.test.tsindex 29be959f24..032c29391a 100644--- a/packages/it-tests/src/rendering/rendering.test.ts+++ b/packages/it-tests/src/rendering/rendering.test.ts@@ -645,3 +645,22 @@ test(timeout: 30000,});++test(+ "Should be able to render video that was wrapped in context",+ async () => {+ await execa(+ "pnpm",+ ["exec", "remotion", "still", "build", "wrapped-in-context", outputPath],+ {+ cwd: path.join(process.cwd(), "..", "example"),+ }+ );++ const exists = fs.existsSync(outputPath);+ expect(exists).toBe(true);+ },+ {+ timeout: 30000,+ }+);