mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
This spec is a little unreliable; up the timeout.
This commit is contained in:
@@ -262,6 +262,7 @@ describe 'browser-window module', ->
|
||||
w.loadURL "file://#{fixtures}/pages/window-open.html"
|
||||
|
||||
it 'emits when link with target is called', (done) ->
|
||||
@timeout 10000
|
||||
w.webContents.once 'new-window', (e, url, frameName) ->
|
||||
e.preventDefault()
|
||||
assert.equal url, 'http://host/'
|
||||
|
||||
Reference in New Issue
Block a user