]> khamidou — GitHub mirrors - electron.git/commitdiff
Suppress window operations in CI
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 03:40:20 +0000 (11:40 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 03:40:20 +0000 (11:40 +0800)
spec/api-browser-window-spec.coffee

index 390f29bf2f0cd32234a7e0a4d13307314aba8e35..e7406f9a2afd4bac06eab90344a5e7c3a10a134f 100644 (file)
@@ -206,7 +206,7 @@ describe 'browser-window module', ->
       w.loadUrl "file://#{fixtures}/pages/target-name.html"
 
   describe 'maximize event', ->
-    return if isCI and process.platform is 'linux'
+    return if isCI
     it 'emits when window is maximized', (done) ->
       @timeout 10000
       w.once 'maximize', -> done()
@@ -214,7 +214,7 @@ describe 'browser-window module', ->
       w.maximize()
 
   describe 'unmaximize event', ->
-    return if isCI and process.platform is 'linux'
+    return if isCI
     it 'emits when window is unmaximized', (done) ->
       @timeout 10000
       w.once 'unmaximize', -> done()
@@ -223,7 +223,7 @@ describe 'browser-window module', ->
       w.unmaximize()
 
   describe 'minimize event', ->
-    return if isCI and process.platform is 'linux'
+    return if isCI
     it 'emits when window is minimized', (done) ->
       @timeout 10000
       w.once 'minimize', -> done()