spec: The parent option should not affect show option
This commit is contained in:
parent
19a7c7ac39
commit
073583ff3d
1 changed files with 5 additions and 0 deletions
|
@ -2369,6 +2369,11 @@ describe('BrowserWindow module', function () {
|
|||
})
|
||||
c.close()
|
||||
})
|
||||
|
||||
it('should not affect the show option', function () {
|
||||
assert.equal(c.isVisible(), false)
|
||||
assert.equal(c.getParentWindow().isVisible(), false)
|
||||
})
|
||||
})
|
||||
|
||||
describe('win.setParentWindow(parent)', function () {
|
||||
|
|
Loading…
Reference in a new issue