This spec is a little unreliable; up the timeout.
This commit is contained in:
parent
b369d4991e
commit
b1391270ed
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ describe 'browser-window module', ->
|
||||||
w.loadURL "file://#{fixtures}/pages/window-open.html"
|
w.loadURL "file://#{fixtures}/pages/window-open.html"
|
||||||
|
|
||||||
it 'emits when link with target is called', (done) ->
|
it 'emits when link with target is called', (done) ->
|
||||||
|
@timeout 10000
|
||||||
w.webContents.once 'new-window', (e, url, frameName) ->
|
w.webContents.once 'new-window', (e, url, frameName) ->
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
assert.equal url, 'http://host/'
|
assert.equal url, 'http://host/'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue