chore: Revert "fix: utility process exit code for graceful termination" (#44717)

Revert "fix: utility process exit code for graceful termination (#44698)"

This reverts commit 36e1a0bf00.
This commit is contained in:
Robo 2024-11-19 13:13:23 +09:00 committed by GitHub
parent 10d967028a
commit 1cae73ba09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 49 additions and 11 deletions

View file

@ -215,8 +215,7 @@ describe('utilityProcess module', () => {
});
await once(child, 'spawn');
expect(child.kill()).to.be.true();
const [code] = await once(child, 'exit');
expect(code).to.equal(0);
await once(child, 'exit');
});
});