spec: Remove "restore" event test

It is too slow and unstable.
This commit is contained in:
Cheng Zhao 2014-12-09 17:16:21 -08:00
parent cefc846e9e
commit 2db7c84cbc

View 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()