Fix SyntaxError - duplicate jsonPath

This commit is contained in:
2025-12-29 10:58:30 +11:00
parent 63032d0763
commit de092bf730

View File

@@ -244,7 +244,7 @@ async function _executeTest(url, options) {
}; };
// Update summary file with new filmstrip // 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)); fs.writeFileSync(jsonPath, JSON.stringify(summary, null, 2));
// Prepare Database Insert // Prepare Database Insert