mirror of
https://github.com/electron/electron.git
synced 2026-01-27 08:18:28 -05:00
fix shortcut spec error
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
const {globalShortcut, remote} = require('electron')
|
||||
const {globalShortcut} = require('electron').remote
|
||||
|
||||
const assert = require('assert')
|
||||
const isCI = require('electron').remote.getGlobal('isCi')
|
||||
|
||||
const isCI = remote.getGlobal('isCi')
|
||||
|
||||
describe('globalShortcut module', () => {
|
||||
describe.only('globalShortcut module', () => {
|
||||
if (isCI && process.platform === 'win32') return
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user