Run crash reporter server specs on CI
This commit is contained in:
parent
8e39aea34a
commit
f104e019be
1 changed files with 4 additions and 4 deletions
|
@ -10,8 +10,6 @@ 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
|
||||
|
@ -37,7 +35,8 @@ describe('crashReporter module', function () {
|
|||
}
|
||||
|
||||
it('should send minidump when renderer crashes', function (done) {
|
||||
if (isCI) return done()
|
||||
if (process.platform !== 'darwin') return done()
|
||||
if (process.env.TRAVIS === 'true') return done()
|
||||
|
||||
this.timeout(120000)
|
||||
|
||||
|
@ -56,7 +55,8 @@ describe('crashReporter module', function () {
|
|||
})
|
||||
|
||||
it('should send minidump when node processes crash', function (done) {
|
||||
if (isCI) return done()
|
||||
if (process.platform !== 'darwin') return done()
|
||||
if (process.env.TRAVIS === 'true') return done()
|
||||
|
||||
this.timeout(120000)
|
||||
|
||||
|
|
Loading…
Reference in a new issue