mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #6796 from electron/disable-global-shortcut-spec-on-windows-ci
Disable globalShortcut spec on Windows CI
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user