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 704c22a commit c980195Copy full SHA for c980195
test/node-api/test_threadsafe_function_shutdown/test.js
@@ -11,7 +11,7 @@ if (process.argv[2] === 'child') {
11
setTimeout(() => {}, 100);
12
} else {
13
const child = fork(__filename, ['child']);
14
- child.on('close', (code) => {
+ child.on('close', common.mustSucceed((code) => {
15
assert.strictEqual(code, 0);
16
- });
+ }));
17
}
0 commit comments