mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Override default window.close, fixes #70.
This commit is contained in:
@@ -33,7 +33,7 @@ describe 'browser-window module', ->
|
||||
w.loadUrl 'file://' + path.join(fixtures, 'api', 'beforeunload-false.html')
|
||||
|
||||
describe 'window.close()', ->
|
||||
xit 'should emit unload handler', (done) ->
|
||||
it 'should emit unload handler', (done) ->
|
||||
w = new BrowserWindow(show: false)
|
||||
w.on 'closed', ->
|
||||
test = path.join(fixtures, 'api', 'close')
|
||||
|
||||
Reference in New Issue
Block a user