Browse Source

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.
Cheng Zhao 7 years ago
parent
commit
7d7bb1581b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/api-crash-reporter-spec.js

+ 1 - 1
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
   }