Increase timeout for some tests
This commit is contained in:
parent
80c8ab4c39
commit
81783b255e
2 changed files with 2 additions and 0 deletions
|
@ -216,6 +216,7 @@ describe 'browser-window module', ->
|
|||
|
||||
describe 'will-navigate event', ->
|
||||
it 'emits when user starts a navigation', (done) ->
|
||||
@timeout 10000
|
||||
w.webContents.on 'will-navigate', (event, url) ->
|
||||
event.preventDefault()
|
||||
assert.equal url, 'https://www.github.com/'
|
||||
|
|
|
@ -66,6 +66,7 @@ describe 'ipc module', ->
|
|||
assert.equal msg, 'test'
|
||||
|
||||
it 'does not crash when reply is not sent and browser is destroyed', (done) ->
|
||||
@timeout 10000
|
||||
w = new BrowserWindow(show: false)
|
||||
remote.require('ipc').once 'send-sync-message', (event) ->
|
||||
event.returnValue = null
|
||||
|
|
Loading…
Reference in a new issue