Skip to content

🎥 Make videos programmatically with React

align undefineds

Jonny Burger18396253d4ce
diff --git a/packages/it-tests/src/monorepo/php-package.test.ts b/packages/it-tests/src/monorepo/php-package.test.ts
index 509bd1cfe4..6a9cca36f4 100644
--- a/packages/it-tests/src/monorepo/php-package.test.ts
+++ b/packages/it-tests/src/monorepo/php-package.test.ts
@@ -68,9 +68,16 @@ test("PHP package should create the same renderMedia payload as normal Lambda pa
});
const jsonOutput = toParse.substring(0, toParse.lastIndexOf("}") + 1);
const parsedJson = JSON.parse(jsonOutput);
- expect(JSON.stringify(parsedJson, null, 3)).toEqual(
- JSON.stringify(nativeVersion, null, 3)
- );
+
+ expect({
+ ...parsedJson,
+ crf: undefined,
+ envVariables: undefined,
+ pixelFormat: undefined,
+ proResProfile: undefined,
+ quality: undefined,
+ type: "start",
+ }).toEqual(nativeVersion);
});
test("PHP package should create the same progress payload as normal Lambda package", async () => {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 374f8bb230..652b35f406 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -773,6 +773,12 @@ importers:
devDependencies:
remotion: link:../core
+ packages/lambda-php-example/vendor/remotion/lambda:
+ specifiers:
+ remotion: workspace:*
+ devDependencies:
+ remotion: link:../../../../core
+
packages/lottie:
specifiers:
'@jonny/eslint-config': 3.0.266