Skip to content

Commit

Permalink
fix: exit on completion
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 committed May 14, 2024
1 parent aac9a0b commit 9d9a687
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/jest-reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export default class MyCustomReporter extends BaseReporter {
`,
)
console.log(outToResultsChannel.toString())
process.exit(0)
}
}

Expand Down
1 change: 1 addition & 0 deletions ci/report-exit.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const main = async () => {
const retryDelayMs = 300000 // 300k ms = 5 mins
sendDiscordNotification(testFailuresUrl, data, retryDelayMs)
sendDiscordNotification(testResultsUrl, data, retryDelayMs)
process.exit(0)
} catch (err) {
console.error(err)
process.exit(1)
Expand Down

0 comments on commit 9d9a687

Please sign in to comment.