test: there is only --ci (#20794)

This commit is contained in:
Jeremy Apthorp 2019-10-30 16:38:21 -07:00 committed by GitHub
parent b275273044
commit 6781d5e3c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 55 additions and 251 deletions

View file

@ -1,13 +1,8 @@
import { expect } from 'chai'
import { globalShortcut } from 'electron'
import { ifdescribe } from './spec-helpers'
describe('globalShortcut module', () => {
before(function () {
if (isCI && process.platform === 'win32') {
this.skip()
}
})
ifdescribe(process.platform !== 'win32')('globalShortcut module', () => {
beforeEach(() => {
globalShortcut.unregisterAll()
})