spec: add more assertions to help smoke out the close all window failures (#13868)
This commit is contained in:
parent
c52b3d921e
commit
4990b3990b
1 changed files with 3 additions and 2 deletions
|
@ -168,8 +168,9 @@ describe('app module', () => {
|
|||
const electronPath = remote.getGlobal('process').execPath
|
||||
|
||||
appProcess = ChildProcess.spawn(electronPath, [appPath])
|
||||
appProcess.on('close', code => {
|
||||
expect(code).to.equal(123)
|
||||
appProcess.on('close', (code, signal) => {
|
||||
expect(signal).to.equal(null, 'exit signal should be null, if you see this please tag @MarshallOfSound')
|
||||
expect(code).to.equal(123, 'exit code should be 123, if you see this please tag @MarshallOfSound')
|
||||
done()
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue