diff --git a/test/parallel/test-child-process-fork.js b/test/parallel/test-child-process-fork.js index f105bd5d57836b..ab253d04c2c790 100644 --- a/test/parallel/test-child-process-fork.js +++ b/test/parallel/test-child-process-fork.js @@ -7,12 +7,9 @@ var args = ['foo', 'bar']; var n = fork(common.fixturesDir + '/child-process-spawn-node.js', args); assert.deepStrictEqual(args, ['foo', 'bar']); -var messageCount = 0; - n.on('message', function(m) { console.log('PARENT got message:', m); assert.ok(m.foo); - messageCount++; }); // https://github.com/joyent/node/issues/2355 - JSON.stringify(undefined)