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:
commit
249699859c
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue