diff --git a/test/parallel/test-process-kill-null.js b/test/parallel/test-process-kill-null.js index 8b426e1816d..742ff326a97 100644 --- a/test/parallel/test-process-kill-null.js +++ b/test/parallel/test-process-kill-null.js @@ -1,9 +1,8 @@ 'use strict'; -const { mustCall } = require('../common'); +const { mustCall, spawnCat } = require('../common'); const assert = require('assert'); -const { spawn } = require('child_process'); -const cat = common.spawnCat(); +const cat = spawnCat(); assert.ok(process.kill(cat.pid, 0));