aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-send-returns-boolean.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-send-returns-boolean.js')
-rw-r--r--test/parallel/test-child-process-send-returns-boolean.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/parallel/test-child-process-send-returns-boolean.js b/test/parallel/test-child-process-send-returns-boolean.js
index 379f76a673..d986b633d4 100644
--- a/test/parallel/test-child-process-send-returns-boolean.js
+++ b/test/parallel/test-child-process-send-returns-boolean.js
@@ -3,8 +3,7 @@ const common = require('../common');
const assert = require('assert');
const path = require('path');
const net = require('net');
-const fork = require('child_process').fork;
-const spawn = require('child_process').spawn;
+const { fork, spawn } = require('child_process');
const emptyFile = path.join(common.fixturesDir, 'empty.js');