summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-spawn-args.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-spawn-args.js')
-rw-r--r--test/parallel/test-child-process-spawn-args.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-child-process-spawn-args.js b/test/parallel/test-child-process-spawn-args.js
index 821525409c..ef70fe844f 100644
--- a/test/parallel/test-child-process-spawn-args.js
+++ b/test/parallel/test-child-process-spawn-args.js
@@ -6,12 +6,12 @@
// caused the third argument (`options`) to be ignored.
// See https://github.com/nodejs/node/issues/24912.
-const assert = require('assert');
-const { spawn } = require('child_process');
-
const common = require('../common');
const tmpdir = require('../common/tmpdir');
+const assert = require('assert');
+const { spawn } = require('child_process');
+
tmpdir.refresh();
const command = common.isWindows ? 'cd' : 'pwd';