]> khamidou — GitHub mirrors - electron.git/commitdiff
This spec is a little unreliable; up the timeout.
authorCharlie Hess <charlie@slack-corp.com>
Thu, 3 Dec 2015 02:40:57 +0000 (18:40 -0800)
committerCharlie Hess <charlie@slack-corp.com>
Thu, 3 Dec 2015 02:40:57 +0000 (18:40 -0800)
spec/api-browser-window-spec.coffee

index 8df4c9a9479ed0bb65b1b5a01e30df4e4513ea9c..86beb1fdc600dd600ff64c90d28853c71c3c1fde 100644 (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/'