We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
.kill(0)
1 parent9a2cb79 commit23ec6f0Copy full SHA for 23ec6f0
test/return/result.js
@@ -111,16 +111,13 @@ test('result.isTerminated is false if not killed', async t => {
111
t.false(isTerminated);
112
});
113
114
-// Remove the condition after fixing the bug at https://github.com/sindresorhus/execa/issues/1193
115
-if(!isWindows){
116
-test('result.isTerminated is false if not killed and subprocess.kill() was called',asynct=>{
117
-constsubprocess=execa('noop.js');
118
-subprocess.kill(0);
119
-t.true(subprocess.killed);
120
-const{isTerminated}=awaitsubprocess;
121
-t.false(isTerminated);
122
-});
123
-}
+test('result.isTerminated is false if not killed and subprocess.kill() was called',asynct=>{
+constsubprocess=execa('noop.js');
+subprocess.kill(0);
+t.true(subprocess.killed);
+const{isTerminated}=awaitsubprocess;
+t.false(isTerminated);
+});
124
125
test('result.isTerminated is false if not killed, in sync mode',t=>{
126
const{isTerminated}=execaSync('noop.js');