From e30112af4bbe4b85905022b88c8bad1f85075268 Mon Sep 17 00:00:00 2001 From: DeNNiiInc Date: Mon, 29 Dec 2025 11:02:00 +1100 Subject: [PATCH] Fix TypeError - make jsonPath mutable --- lib/runner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runner.js b/lib/runner.js index f2ed8d9..b9ba118 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -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