From f104e019beb087821f3cebb8013b6e3d1cc76faa Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 24 Jan 2017 14:12:35 -0800 Subject: [PATCH] Run crash reporter server specs on CI --- spec/api-crash-reporter-spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/api-crash-reporter-spec.js b/spec/api-crash-reporter-spec.js index 2e219ea81923..0871670de370 100644 --- a/spec/api-crash-reporter-spec.js +++ b/spec/api-crash-reporter-spec.js @@ -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)