This spec is a little unreliable; up the timeout.

This commit is contained in:
Charlie Hess 2015-12-02 18:40:57 -08:00
parent b369d4991e
commit b1391270ed

View file

@ -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/'