Run crash reporter server specs on CI

This commit is contained in:
Kevin Sawicki 2017-01-24 14:12:35 -08:00
parent 8e39aea34a
commit f104e019be

View file

@ -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)