spec: The parent option should not affect show option

This commit is contained in:
Cheng Zhao 2017-09-14 14:48:42 +09:00
parent 19a7c7ac39
commit 073583ff3d

View file

@ -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 () {