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 f78b817 commit 76dda9cCopy full SHA for 76dda9c
test/parallel/test-child-process-constructor.js
@@ -4,7 +4,7 @@ require('../common');
4
varassert=require('assert');
5
varchild_process=require('child_process');
6
varChildProcess=child_process.ChildProcess;
7
-assert.equal(typeofChildProcess,'function');
+assert.strictEqual(typeofChildProcess,'function');
8
9
// test that we can call spawn
10
varchild=newChildProcess();
@@ -15,11 +15,11 @@ child.spawn({
15
stdio: 'pipe'
16
});
17
18
-assert.equal(child.hasOwnProperty('pid'),true);
+assert.strictEqual(child.hasOwnProperty('pid'),true);
19
20
// try killing with invalid signal
21
assert.throws(function(){
22
child.kill('foo');
23
},/Unknownsignal:foo/);
24
25
-assert.equal(child.kill(),true);
+assert.strictEqual(child.kill(),true);
0 commit comments