spec: Add timeout for beginFrameSubscription

This commit is contained in:
Cheng Zhao 2015-09-21 11:37:17 +08:00
parent a69121fc24
commit 7807d878d2

View file

@ -305,6 +305,7 @@ describe 'browser-window module', ->
w.loadUrl url
describe 'beginFrameSubscription method', ->
@timeout 10000
it 'subscribes frame updates', (done) ->
called = false
w.loadUrl "file://#{fixtures}/api/blank.html"