From dec2570def76d12a27929d474d96015de397ffc8 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 30 Mar 2023 10:55:04 +0100 Subject: [PATCH] update test report script to read the right jest test file --- qa-core/scripts/testResultsWebhook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa-core/scripts/testResultsWebhook.js b/qa-core/scripts/testResultsWebhook.js index fc00bf34ad..b4725cae56 100644 --- a/qa-core/scripts/testResultsWebhook.js +++ b/qa-core/scripts/testResultsWebhook.js @@ -10,7 +10,7 @@ const GITHUB_ACTIONS_RUN_URL = process.env.GITHUB_ACTIONS_RUN_URL async function generateReport() { // read the report file - const REPORT_PATH = path.resolve(__dirname, "..", "testReport.json") + const REPORT_PATH = path.resolve(__dirname, "..", "testResults.json") const report = fs.readFileSync(REPORT_PATH, "utf-8") return JSON.parse(report) }