From: Charlie Hess Date: Thu, 3 Dec 2015 02:40:57 +0000 (-0800) Subject: This spec is a little unreliable; up the timeout. X-Git-Tag: v0.35.3~5^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b1391270ed1b71b156cb4f5b8d84d2a6859b2a90;p=electron.git This spec is a little unreliable; up the timeout. --- diff --git a/spec/api-browser-window-spec.coffee b/spec/api-browser-window-spec.coffee index 8df4c9a9..86beb1fd 100644 --- a/spec/api-browser-window-spec.coffee +++ b/spec/api-browser-window-spec.coffee @@ -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/'