small tweaks to global shortcut spec

This commit is contained in:
Shelley Vohr 2017-10-26 20:49:21 -04:00
parent 6feff1d6e8
commit 13fc080213
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -1,12 +1,10 @@
const {globalShortcut} = require('electron').remote const {globalShortcut, remote} = require('electron')
const assert = require('assert') const assert = require('assert')
const isCI = require('electron').remote.getGlobal('isCi') const isCI = remote.getGlobal('isCi')
describe('globalShortcut module', () => { describe('globalShortcut module', () => {
if (isCI && process.platform === 'win32') { if (isCI && process.platform === 'win32') return
return
}
beforeEach(() => { beforeEach(() => {
globalShortcut.unregisterAll() globalShortcut.unregisterAll()