spec: Disable crashReporter tests for some CI machines

Have no idea why it is failing on our CI machines, but at least Appveyor
works fine.
This commit is contained in:
Cheng Zhao 2017-08-02 15:53:26 +09:00
parent 5ccae79ea7
commit 7d7bb1581b

View file

@ -12,7 +12,7 @@ const {remote} = require('electron')
const {app, BrowserWindow, crashReporter} = remote.require('electron')
describe('crashReporter module', function () {
if (process.mas) {
if (process.mas || process.env.DISABLE_CRASH_REPORTER_TESTS) {
return
}