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 8df4c9a..86beb1f 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/'