Skip to content

Commit

Permalink
fix: exit on completion (#237)
Browse files Browse the repository at this point in the history
* fix: exit on completion

* package-lock.json update
  • Loading branch information
smrz2001 authored May 14, 2024
1 parent aac9a0b commit ccc7fae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ccc7fae

Please sign in to comment.