update tests to reflect new behaviour
This commit is contained in:
parent
bb5eecc16c
commit
710ca230f3
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue