run the new test only on windows
This commit is contained in:
parent
710ca230f3
commit
62594780e0
1 changed files with 5 additions and 0 deletions
|
@ -2178,6 +2178,11 @@ describe('BrowserWindow module', () => {
|
|||
w.setFullScreenable(false)
|
||||
assert.equal(w.isMaximizable(), true)
|
||||
})
|
||||
})
|
||||
|
||||
describe('maximizable state (Windows only)', () => {
|
||||
// Only implemented on windows.
|
||||
if (process.platform !== 'win32') return
|
||||
|
||||
it('is set to false when resizable state is set to false', () => {
|
||||
w.setResizable(false)
|
||||
|
|
Loading…
Reference in a new issue