Disable crashReporter specs on Linux CI

This commit is contained in:
Kevin Sawicki 2017-05-15 10:57:45 -07:00
parent e708a45496
commit bcbfd0d5c6

View file

@ -9,6 +9,7 @@ const url = require('url')
const {closeWindow} = require('./window-helpers')
const {remote} = require('electron')
const isCI = remote.getGlobal('isCi')
const {app, BrowserWindow, crashReporter} = remote.require('electron')
describe('crashReporter module', function () {
@ -16,6 +17,12 @@ describe('crashReporter module', function () {
return
}
// FIXME internal Linux CI is failing when it detects a process crashes
// which is a false positive here since crashes are explicitly triggered
if (isCI && process.platform === 'linux') {
return
}
var originalTempDirectory = null
var tempDirectory = null