mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
run the new test only on windows
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user