We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb2d61 commit 1389a4fCopy full SHA for 1389a4f
test/parallel/test-preload.js
@@ -81,7 +81,7 @@ var stdinStdout = '';
81
stdinProc.stdout.on('data', function(d) {
82
stdinStdout += d;
83
});
84
-stdinProc.on('exit', function(code) {
+stdinProc.on('close', function(code) {
85
assert.equal(code, 0);
86
assert.equal(stdinStdout, 'A\nhello\n');
87
@@ -97,7 +97,7 @@ var replStdout = '';
97
replProc.stdout.on('data', function(d) {
98
replStdout += d;
99
100
-replProc.on('exit', function(code) {
+replProc.on('close', function(code) {
101
102
const output = [
103
'A',
0 commit comments