diff --git a/lib/runner.js b/lib/runner.js index 04a24ae..f2ed8d9 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -244,7 +244,7 @@ async function _executeTest(url, options) { }; // Update summary file with new filmstrip - const jsonPath = path.join(reportDir, `${testId}.json`); + jsonPath = path.join(reportDir, `${testId}.json`); fs.writeFileSync(jsonPath, JSON.stringify(summary, null, 2)); // Prepare Database Insert