summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-send-after-close.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-send-after-close.js')
-rw-r--r--test/parallel/test-child-process-send-after-close.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/parallel/test-child-process-send-after-close.js b/test/parallel/test-child-process-send-after-close.js
index b497965708..4e26d12618 100644
--- a/test/parallel/test-child-process-send-after-close.js
+++ b/test/parallel/test-child-process-send-after-close.js
@@ -2,8 +2,9 @@
const common = require('../common');
const assert = require('assert');
const cp = require('child_process');
-const path = require('path');
-const fixture = path.join(common.fixturesDir, 'empty.js');
+const fixtures = require('../common/fixtures');
+
+const fixture = fixtures.path('empty.js');
const child = cp.fork(fixture);
child.on('close', common.mustCall((code, signal) => {