1
0
Fork 0
mirror of synced 2024-07-03 21:40:55 +12:00

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

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