small tweaks to global shortcut spec
This commit is contained in:
parent
6feff1d6e8
commit
13fc080213
1 changed files with 3 additions and 5 deletions
|
@ -1,12 +1,10 @@
|
|||
const {globalShortcut} = require('electron').remote
|
||||
const {globalShortcut, remote} = require('electron')
|
||||
const assert = require('assert')
|
||||
|
||||
const isCI = require('electron').remote.getGlobal('isCi')
|
||||
const isCI = remote.getGlobal('isCi')
|
||||
|
||||
describe('globalShortcut module', () => {
|
||||
if (isCI && process.platform === 'win32') {
|
||||
return
|
||||
}
|
||||
if (isCI && process.platform === 'win32') return
|
||||
|
||||
beforeEach(() => {
|
||||
globalShortcut.unregisterAll()
|
||||
|
|
Loading…
Reference in a new issue