aboutsummaryrefslogtreecommitdiff
path: root/test/report/test-report-writereport.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/report/test-report-writereport.js')
-rw-r--r--test/report/test-report-writereport.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/report/test-report-writereport.js b/test/report/test-report-writereport.js
index 6c7ed8a71c..8a22600acf 100644
--- a/test/report/test-report-writereport.js
+++ b/test/report/test-report-writereport.js
@@ -111,7 +111,7 @@ function validate() {
// Test the case where the report file cannot be opened.
const reportDir = path.join(tmpdir.path, 'does', 'not', 'exist');
const args = ['--experimental-report',
- `--diagnostic-report-directory=${reportDir}`,
+ `--report-directory=${reportDir}`,
'-e',
'process.report.writeReport()'];
const child = spawnSync(process.execPath, args, { cwd: tmpdir.path });