🎥 Make videos programmatically with React
Pass isProduction in test.ts
Pramoda3b64d717293
diff --git a/packages/it-tests/src/monorepo/go-package.test.ts b/packages/it-tests/src/monorepo/go-package.test.tsindex c0c58cce77..6cb9cc4462 100644--- a/packages/it-tests/src/monorepo/go-package.test.ts+++ b/packages/it-tests/src/monorepo/go-package.test.ts@@ -86,6 +86,7 @@ test(storageClass: null,requestHandler: null,mediaCacheSizeInBytes: null,+ isProduction: null,});expect(removeUndefined(parsed)).toEqual(removeUndefined(nativeVersion));diff --git a/packages/it-tests/src/monorepo/php-package.test.ts b/packages/it-tests/src/monorepo/php-package.test.tsindex 0bf761961a..4c6c0bca49 100644--- a/packages/it-tests/src/monorepo/php-package.test.ts+++ b/packages/it-tests/src/monorepo/php-package.test.ts@@ -131,6 +131,7 @@ class SemanticstorageClass: null,requestHandler: null,mediaCacheSizeInBytes: null,+ isProduction: null,});const jsonOutput = toParse.substring(0, toParse.lastIndexOf('}') + 1);const parsedJson = JSON.parse(jsonOutput);diff --git a/packages/it-tests/src/monorepo/python-package.test.ts b/packages/it-tests/src/monorepo/python-package.test.tsindex 3c050ea889..8041830cb8 100644--- a/packages/it-tests/src/monorepo/python-package.test.ts+++ b/packages/it-tests/src/monorepo/python-package.test.ts@@ -114,6 +114,7 @@ test('Python package should create the same renderMedia payload as normal LambdalicenseKey: null,storageClass: null,mediaCacheSizeInBytes: null,+ isProduction: null,});const jsonOutput = toParse.substring(0, toParse.lastIndexOf('}') + 1);const parsedJson = JSON.parse(jsonOutput);@@ -200,6 +201,7 @@ test('Python package should create the same renderStill payload as normal LambdastorageClass: null,requestHandler: null,mediaCacheSizeInBytes: null,+ isProduction: null,});const jsonOutput = toParse.substring(0, toParse.lastIndexOf('}') + 1);const {streamed: _, ...parsedJson} = JSON.parse(jsonOutput);diff --git a/packages/it-tests/src/monorepo/ruby-package.test.ts b/packages/it-tests/src/monorepo/ruby-package.test.tsindex 0dfa7bb488..c537b05a88 100644--- a/packages/it-tests/src/monorepo/ruby-package.test.ts+++ b/packages/it-tests/src/monorepo/ruby-package.test.ts@@ -140,6 +140,7 @@ test('Render Media payload', async () => {storageClass: null,requestHandler: null,mediaCacheSizeInBytes: null,+ isProduction: null,});expect(JSON.parse(output)).toEqual(nativeVersion);@@ -187,6 +188,7 @@ test('Render Still payload', async () => {storageClass: null,requestHandler: null,mediaCacheSizeInBytes: null,+ isProduction: null,});expect(JSON.parse(output)).toEqual({...nativeVersion, streamed: false});