update test report script to read the right jest test file

This commit is contained in:
Martin McKeaveney 2023-03-30 10:55:04 +01:00
parent 05ba08a956
commit dec2570def
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() { async function generateReport() {
// read the report file // 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") const report = fs.readFileSync(REPORT_PATH, "utf-8")
return JSON.parse(report) return JSON.parse(report)
} }