Fix TypeError - make jsonPath mutable

This commit is contained in:
2025-12-29 11:02:00 +11:00
parent de092bf730
commit e30112af4b

View File

@@ -178,7 +178,7 @@ async function _executeTest(url, options) {
};
// Save JSON Summary
const jsonPath = path.join(reportDir, `${testId}.json`);
let jsonPath = path.join(reportDir, `${testId}.json`);
fs.writeFileSync(jsonPath, JSON.stringify(summary, null, 2));
// Parse and save HAR data for waterfall