diff --git a/spec/api-global-shortcut-spec.js b/spec/api-global-shortcut-spec.js index 3d200d6ad853..b89890903f45 100644 --- a/spec/api-global-shortcut-spec.js +++ b/spec/api-global-shortcut-spec.js @@ -1,9 +1,9 @@ -const {globalShortcut, remote} = require('electron') +const {globalShortcut} = require('electron').remote + const assert = require('assert') +const isCI = require('electron').remote.getGlobal('isCi') -const isCI = remote.getGlobal('isCi') - -describe('globalShortcut module', () => { +describe.only('globalShortcut module', () => { if (isCI && process.platform === 'win32') return beforeEach(() => {