spec: Skip autoUpdater tests in MAS build

This commit is contained in:
Cheng Zhao 2016-02-16 11:00:36 +08:00
parent 66bb6a8534
commit 3c4043fd39

View file

@ -2,6 +2,10 @@ const assert = require('assert');
const autoUpdater = require('electron').remote.autoUpdater;
const ipcRenderer = require('electron').ipcRenderer;
// Skip autoUpdater tests in MAS build.
if (process.mas)
return;
describe('autoUpdater module', function() {
describe('checkForUpdates', function() {
it('emits an error on Windows when called the feed URL is not set', function (done) {