mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-04-17 20:05:58 +00:00
Fix TypeError - make jsonPath mutable
This commit is contained in:
@@ -178,7 +178,7 @@ async function _executeTest(url, options) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Save JSON Summary
|
// 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));
|
fs.writeFileSync(jsonPath, JSON.stringify(summary, null, 2));
|
||||||
|
|
||||||
// Parse and save HAR data for waterfall
|
// Parse and save HAR data for waterfall
|
||||||
|
|||||||
Reference in New Issue
Block a user