From b017d2d324a5c0ad8b116eee2ff09c48a4925491 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 10 Aug 2016 08:51:29 -0700 Subject: [PATCH] Disable globalShortcut spec on Windows CI --- spec/api-global-shortcut-spec.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/api-global-shortcut-spec.js b/spec/api-global-shortcut-spec.js index d4f277496c60..2031d4556fa6 100644 --- a/spec/api-global-shortcut-spec.js +++ b/spec/api-global-shortcut-spec.js @@ -1,7 +1,13 @@ const {globalShortcut} = require('electron').remote const assert = require('assert') +const isCI = require('electron').remote.getGlobal('isCi') + describe('globalShortcut module', () => { + if (isCI && process.platform === 'win32') { + return + } + beforeEach(() => { globalShortcut.unregisterAll() })