diff --git a/spec/api-crash-reporter-spec.js b/spec/api-crash-reporter-spec.js index 92020dbea62..b7a50f7c108 100644 --- a/spec/api-crash-reporter-spec.js +++ b/spec/api-crash-reporter-spec.js @@ -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 }