Skip to content

Commit

Permalink
e2e fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Oct 25, 2023
1 parent 47fb219 commit 901c33a
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 20 deletions.
12 changes: 8 additions & 4 deletions e2e/aws-lambda/scripts/e2e.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { runTests } from '@e2e/shared-scripts';
import { createAwsLambdaDeployment } from './createAwsLambdaDeployment';

runTests(createAwsLambdaDeployment()).catch(err => {
console.error(err);
process.exit(1);
});
runTests(createAwsLambdaDeployment())
.then(() => {
process.exit(0);
})
.catch(err => {
console.error(err);
process.exit(1);
});
12 changes: 8 additions & 4 deletions e2e/azure-function/scripts/e2e.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { runTests } from '@e2e/shared-scripts';
import { createAzureFunctionDeployment } from './createAzureFunctionDeployment';

runTests(createAzureFunctionDeployment()).catch(err => {
console.error(err);
process.exit(1);
});
runTests(createAzureFunctionDeployment())
.then(() => {
process.exit(0);
})
.catch(err => {
console.error(err);
process.exit(1);
});
12 changes: 8 additions & 4 deletions e2e/cloudflare-modules/scripts/e2e.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { runTests } from '@e2e/shared-scripts';
import { createCfDeployment } from '../../cloudflare-workers/scripts/createCfDeployment';

runTests(createCfDeployment('cloudflare-modules', true)).catch(err => {
console.error(err);
process.exit(1);
});
runTests(createCfDeployment('cloudflare-modules', true))
.then(() => {
process.exit(0);
})
.catch(err => {
console.error(err);
process.exit(1);
});
12 changes: 8 additions & 4 deletions e2e/cloudflare-workers/scripts/e2e.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { runTests } from '@e2e/shared-scripts';
import { createCfDeployment } from './createCfDeployment';

runTests(createCfDeployment('cloudflare-workers')).catch(err => {
console.error(err);
process.exit(1);
});
runTests(createCfDeployment('cloudflare-workers'))
.then(() => {
process.exit(0);
})
.catch(err => {
console.error(err);
process.exit(1);
});
12 changes: 8 additions & 4 deletions e2e/vercel/scripts/e2e.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { runTests } from '@e2e/shared-scripts';
import { createVercelDeployment } from './createVercelDeployment';

runTests(createVercelDeployment()).catch(err => {
console.error(err);
process.exit(1);
});
runTests(createVercelDeployment())
.then(() => {
process.exit(0);
})
.catch(err => {
console.error(err);
process.exit(1);
});

0 comments on commit 901c33a

Please sign in to comment.