From: Cheng Zhao Date: Wed, 10 Dec 2014 01:16:21 +0000 (-0800) Subject: spec: Remove "restore" event test X-Git-Tag: v0.20.0~4^2~14 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2db7c84cbc496524170b8b476c1214dc145c8109;p=electron.git spec: Remove "restore" event test It is too slow and unstable. --- diff --git a/spec/api-browser-window-spec.coffee b/spec/api-browser-window-spec.coffee index 09e0542c..5bf3adcb 100644 --- a/spec/api-browser-window-spec.coffee +++ b/spec/api-browser-window-spec.coffee @@ -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()