fix shortcut spec error
This commit is contained in:
parent
0317189213
commit
abecde0572
1 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
||||||
const {globalShortcut, remote} = require('electron')
|
const {globalShortcut} = require('electron').remote
|
||||||
|
|
||||||
const assert = require('assert')
|
const assert = require('assert')
|
||||||
|
const isCI = require('electron').remote.getGlobal('isCi')
|
||||||
|
|
||||||
const isCI = remote.getGlobal('isCi')
|
describe.only('globalShortcut module', () => {
|
||||||
|
|
||||||
describe('globalShortcut module', () => {
|
|
||||||
if (isCI && process.platform === 'win32') return
|
if (isCI && process.platform === 'win32') return
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
|
Loading…
Reference in a new issue