|
@@ -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()
|
|
|
})
|