Skip to content

🎥 Make videos programmatically with React

fix tests

Jonny Burgerf14354e8facd
diff --git a/packages/lambda/src/test/integration/deploy-site.test.ts b/packages/lambda/src/test/integration/deploy-site.test.ts
index 3edb960d2b..828c8df437 100644
--- a/packages/lambda/src/test/integration/deploy-site.test.ts
+++ b/packages/lambda/src/test/integration/deploy-site.test.ts
@@ -53,7 +53,7 @@ test('Should apply name if given', async () => {
).toEqual({
siteName: 'testing',
serveUrl:
- 'https://remotionlambda-abcdef.s3.ap-northeast-1.amazonaws.com/sites/testing/index.html',
+ 'https://remotionlambda-apnortheast1-abcdef.s3.ap-northeast-1.amazonaws.com/sites/testing/index.html',
stats: {
deletedFiles: 0,
untouchedFiles: 0,
@@ -76,7 +76,7 @@ test('Should use a random hash if no siteName is given', async () => {
).toEqual({
siteName: 'testing',
serveUrl:
- 'https://remotionlambda-abcdef.s3.ap-northeast-1.amazonaws.com/sites/testing/index.html',
+ 'https://remotionlambda-apnortheast1-abcdef.s3.ap-northeast-1.amazonaws.com/sites/testing/index.html',
stats: {
deletedFiles: 0,
untouchedFiles: 2,
diff --git a/packages/lambda/src/test/integration/get-sites.test.ts b/packages/lambda/src/test/integration/get-sites.test.ts
index b7e850940e..47662636fa 100644
--- a/packages/lambda/src/test/integration/get-sites.test.ts
+++ b/packages/lambda/src/test/integration/get-sites.test.ts
@@ -17,14 +17,14 @@ test('Should have a site after deploying', async () => {
});
expect(
await deploySite({
- bucketName: 'remotionlambda-abcdef',
+ bucketName: 'remotionlambda-eucentral1-abcdef',
entryPoint: 'first',
region: 'eu-central-1',
siteName: 'testing',
})
).toEqual({
serveUrl:
- 'https://remotionlambda-abcdef.s3.eu-central-1.amazonaws.com/sites/testing/index.html',
+ 'https://remotionlambda-eucentral1-abcdef.s3.eu-central-1.amazonaws.com/sites/testing/index.html',
siteName: 'testing',
stats: {
deletedFiles: 0,
@@ -36,18 +36,18 @@ test('Should have a site after deploying', async () => {
buckets: [
{
creationDate: 0,
- name: 'remotionlambda-abcdef',
+ name: 'remotionlambda-eucentral1-abcdef',
region: 'eu-central-1',
},
],
sites: [
{
- bucketName: 'remotionlambda-abcdef',
+ bucketName: 'remotionlambda-eucentral1-abcdef',
id: 'testing',
lastModified: 0,
sizeInBytes: 48,
serveUrl:
- 'https://remotionlambda-abcdef.s3.eu-central-1.amazonaws.com/sites/testing/index.html',
+ 'https://remotionlambda-eucentral1-abcdef.s3.eu-central-1.amazonaws.com/sites/testing/index.html',
},
],
});