mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add test
This commit is contained in:
@@ -322,3 +322,11 @@ describe 'browser-window module', ->
|
||||
done()
|
||||
|
||||
w.loadURL "file://#{fixtures}/pages/save_page/index.html"
|
||||
|
||||
describe 'BrowserWindow options argument is optional', ->
|
||||
it 'should create a window with default size (800x600)', ->
|
||||
w.destroy()
|
||||
w = new BrowserWindow()
|
||||
size = w.getSize()
|
||||
assert.equal size[0], 800
|
||||
assert.equal size[1], 600
|
||||
|
||||
Reference in New Issue
Block a user