diff --git a/test/parallel/test-cli-node-options.js b/test/parallel/test-cli-node-options.js index 9691bafc932b08..97ab20bf9c5cd6 100644 --- a/test/parallel/test-cli-node-options.js +++ b/test/parallel/test-cli-node-options.js @@ -8,6 +8,9 @@ if (process.config.variables.node_without_node_options) const assert = require('assert'); const exec = require('child_process').execFile; +common.refreshTmpDir(); +process.chdir(common.tmpDir); + disallow('--version'); disallow('-v'); disallow('--help');