Merge pull request #9238 from electron/wait-for-stdout-close
Wait for close event instead of exit in spec
This commit is contained in:
commit
e95ba067a5
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ describe('node feature', function () {
|
|||
child.stdout.on('data', (chunk) => {
|
||||
data += String(chunk)
|
||||
})
|
||||
child.on('exit', (code) => {
|
||||
child.on('close', (code) => {
|
||||
assert.equal(code, 0)
|
||||
assert.equal(data, 'pipes stdio')
|
||||
done()
|
||||
|
|
Loading…
Reference in a new issue