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