We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87301de commit aecb74aCopy full SHA for aecb74a
2 files changed
test/fixture/server.js
@@ -22,7 +22,7 @@ process.once('SIGTERM', function () {
22
}
23
});
24
25
-process.once('exit', function() {
+process.once('beforeExit', function() {
26
console.log('exit');
27
28
test/utils/spawn.js
@@ -27,7 +27,6 @@ function spawn(cmd, cb) {
// kill the process and invoke the given function
ps.removeListener('exit', exitHandler);
29
ps.once('exit', function (code) {
30
- console.log(`Process is exiting with code: ${code}`);
31
ps.stdout.removeListener('data', outHandler);
32
ps.stderr.removeListener('data', errorHandler);
33
ret.exit(code);
0 commit comments