diff --git a/test/parallel/test-child-process-spawn-args.js b/test/parallel/test-child-process-spawn-args.js index 35a1ea40208adf..821525409c8fca 100644 --- a/test/parallel/test-child-process-spawn-args.js +++ b/test/parallel/test-child-process-spawn-args.js @@ -12,6 +12,8 @@ const { spawn } = require('child_process'); const common = require('../common'); const tmpdir = require('../common/tmpdir'); +tmpdir.refresh(); + const command = common.isWindows ? 'cd' : 'pwd'; const options = { cwd: tmpdir.path };