]> khamidou — GitHub mirrors - electron.git/commitdiff
spec: Remove "restore" event test
authorCheng Zhao <zcbenz@gmail.com>
Wed, 10 Dec 2014 01:16:21 +0000 (17:16 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 10 Dec 2014 01:16:21 +0000 (17:16 -0800)
It is too slow and unstable.

spec/api-browser-window-spec.coffee

index 09e0542c90550edc0415b6f60f032cd41cd447ff..5bf3adcbe11665a32f4b799dc1d5369967f1628c 100644 (file)
@@ -208,12 +208,3 @@ describe 'browser-window module', ->
       w.once 'minimize', -> done()
       w.show()
       w.minimize()
-
-  describe 'restore event', ->
-    return if isCI and process.platform is 'linux'
-    it 'emits when window is restored', (done) ->
-      @timeout 10000
-      w.once 'restore', -> done()
-      w.show()
-      w.minimize()
-      w.restore()