Skip to content

🎥 Make videos programmatically with React

fix integration test with new x-remotion-mode header

Paul Kuhle938a5d4a2ade
diff --git a/packages/lambda/src/test/integration/webhooks.test.ts b/packages/lambda/src/test/integration/webhooks.test.ts
index 36037c4fca..9cc9026104 100644
--- a/packages/lambda/src/test/integration/webhooks.test.ts
+++ b/packages/lambda/src/test/integration/webhooks.test.ts
@@ -112,6 +112,7 @@ describe('Webhooks', () => {
'Content-Type': 'application/json',
'X-Remotion-Signature': expect.stringContaining('sha512='),
'X-Remotion-Status': 'success',
+ 'X-Remotion-Mode': 'production',
},
timeout: 5000,
},
@@ -177,6 +178,7 @@ describe('Webhooks', () => {
method: 'POST',
headers: {
'Content-Type': 'application/json',
+ 'X-Remotion-Mode': 'production',
'X-Remotion-Signature': expect.stringContaining('sha512='),
'X-Remotion-Status': 'timeout',
},