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 9d4abaa commit 969defaCopy full SHA for 969defa
test/parallel/test-process-raw-debug.js
@@ -1,5 +1,5 @@
1
'use strict';
2
-require('../common');
+const common = require('../common');
3
const assert = require('assert');
4
const os = require('os');
5
@@ -29,10 +29,10 @@ function parent() {
29
console.log('ok - got expected message');
30
});
31
32
- child.on('exit', function(c) {
+ child.on('exit', common.mustCall(function(c) {
33
assert(!c);
34
console.log('ok - child exited nicely');
35
- });
+ }));
36
}
37
38
function child() {
0 commit comments