diff --git a/ci/jest-reporter.js b/ci/jest-reporter.js index c39a56f..441a7f6 100644 --- a/ci/jest-reporter.js +++ b/ci/jest-reporter.js @@ -68,6 +68,7 @@ export default class MyCustomReporter extends BaseReporter { `, ) console.log(outToResultsChannel.toString()) + process.exit(0) } } diff --git a/ci/report-exit.js b/ci/report-exit.js index 45b2c90..cd37591 100644 --- a/ci/report-exit.js +++ b/ci/report-exit.js @@ -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)