fix: no more need to hijack process.stdout on Win32 (#25765)

This commit is contained in:
Cheng Zhao 2020-10-06 02:10:38 +09:00 committed by GitHub
parent 9717dff4fa
commit 57dc170e81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 9 additions and 63 deletions

View file

@ -122,7 +122,7 @@ describe('node feature', () => {
});
await emittedOnce(child.stdout, 'close');
expect(JSON.parse(output)).to.deep.equal({
processLog: process.platform === 'win32' ? 'function' : 'undefined',
stdoutType: 'pipe',
processType: 'undefined',
window: 'undefined'
});