diff --git a/test/return/result.js b/test/return/result.js index fb1818cf9b..30d8d4cfcb 100644 --- a/test/return/result.js +++ b/test/return/result.js @@ -111,16 +111,13 @@ test('result.isTerminated is false if not killed', async t => { t.false(isTerminated); }); -// Remove the condition after fixing the bug at https://github.com/sindresorhus/execa/issues/1193 -if (!isWindows) { - test('result.isTerminated is false if not killed and subprocess.kill() was called', async t => { - const subprocess = execa('noop.js'); - subprocess.kill(0); - t.true(subprocess.killed); - const {isTerminated} = await subprocess; - t.false(isTerminated); - }); -} +test('result.isTerminated is false if not killed and subprocess.kill() was called', async t => { + const subprocess = execa('noop.js'); + subprocess.kill(0); + t.true(subprocess.killed); + const {isTerminated} = await subprocess; + t.false(isTerminated); +}); test('result.isTerminated is false if not killed, in sync mode', t => { const {isTerminated} = execaSync('noop.js');