Merge pull request #10164 from Budibase/update-qa-core-report-script

update test report script to read the right jest test file
This commit is contained in:
Martin McKeaveney 2023-03-30 11:02:12 +01:00 committed by GitHub
commit 249699859c
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}