Skip to content

Commit 96b3a4a

Browse files
committed
Build: Fix exit code when testing
1 parent db661da commit 96b3a4a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

helpers/integration-tests/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@ const runIntegrationTests = async () => {
3333

3434
runIntegrationTests()
3535
.catch((err) => {
36-
throw err;
36+
console.error(err.message);
37+
// Unhandled exceptions in promises do not change the exit code for now
38+
process.exit(1); //eslint-disable-line
3739
});

0 commit comments

Comments
 (0)