Run more crashReporter specs on CI
This commit is contained in:
parent
2c8ab72269
commit
77fa7ce977
2 changed files with 6 additions and 9 deletions
|
@ -9,6 +9,8 @@ const {closeWindow} = require('./window-helpers')
|
|||
const {remote} = require('electron')
|
||||
const {app, BrowserWindow, crashReporter} = remote.require('electron')
|
||||
|
||||
const isCI = remote.getGlobal('isCi')
|
||||
|
||||
describe('crashReporter module', function () {
|
||||
var fixtures = path.resolve(__dirname, 'fixtures')
|
||||
var w = null
|
||||
|
@ -33,12 +35,9 @@ describe('crashReporter module', function () {
|
|||
return
|
||||
}
|
||||
|
||||
var isCI = remote.getGlobal('isCi')
|
||||
if (isCI) {
|
||||
return
|
||||
}
|
||||
|
||||
it('should send minidump when renderer crashes', function (done) {
|
||||
if (isCi) return
|
||||
|
||||
this.timeout(120000)
|
||||
|
||||
var called = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue