summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-ipc.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-ipc.js')
-rw-r--r--test/parallel/test-child-process-ipc.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/parallel/test-child-process-ipc.js b/test/parallel/test-child-process-ipc.js
index b4a2a5e019..36293cb73c 100644
--- a/test/parallel/test-child-process-ipc.js
+++ b/test/parallel/test-child-process-ipc.js
@@ -21,14 +21,13 @@
'use strict';
-const common = require('../common');
+require('../common');
const assert = require('assert');
-const spawn = require('child_process').spawn;
+const { spawn } = require('child_process');
+const fixtures = require('../common/fixtures');
-const path = require('path');
-
-const sub = path.join(common.fixturesDir, 'echo.js');
+const sub = fixtures.path('echo.js');
let gotHelloWorld = false;
let gotEcho = false;