Disable globalShortcut spec on Windows CI
This commit is contained in:
parent
912c7716b3
commit
b017d2d324
1 changed files with 6 additions and 0 deletions
|
@ -1,7 +1,13 @@
|
||||||
const {globalShortcut} = require('electron').remote
|
const {globalShortcut} = require('electron').remote
|
||||||
const assert = require('assert')
|
const assert = require('assert')
|
||||||
|
|
||||||
|
const isCI = require('electron').remote.getGlobal('isCi')
|
||||||
|
|
||||||
describe('globalShortcut module', () => {
|
describe('globalShortcut module', () => {
|
||||||
|
if (isCI && process.platform === 'win32') {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
globalShortcut.unregisterAll()
|
globalShortcut.unregisterAll()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue