update tests to reflect new behaviour

This commit is contained in:
Heilig Benedek 2017-11-23 20:58:37 +01:00
parent bb5eecc16c
commit 710ca230f3

View file

@ -2177,8 +2177,11 @@ describe('BrowserWindow module', () => {
assert.equal(w.isMaximizable(), true)
w.setFullScreenable(false)
assert.equal(w.isMaximizable(), true)
})
it('is set to false when resizable state is set to false', () => {
w.setResizable(false)
assert.equal(w.isMaximizable(), true)
assert.equal(w.isMaximizable(), false)
})
})