]> khamidou — GitHub mirrors - electron.git/commitdiff
spec: Add timeout for beginFrameSubscription
authorCheng Zhao <zcbenz@gmail.com>
Mon, 21 Sep 2015 03:37:17 +0000 (11:37 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 21 Sep 2015 03:37:35 +0000 (11:37 +0800)
spec/api-browser-window-spec.coffee

index 64e62716604df4b38ef6f08a8da457c7582ca006..8cfd73d6159a5abe90503c6f85faaf39d2519ecd 100644 (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"