spec: Skip autoUpdater tests in MAS build
This commit is contained in:
parent
66bb6a8534
commit
3c4043fd39
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@ const assert = require('assert');
|
||||||
const autoUpdater = require('electron').remote.autoUpdater;
|
const autoUpdater = require('electron').remote.autoUpdater;
|
||||||
const ipcRenderer = require('electron').ipcRenderer;
|
const ipcRenderer = require('electron').ipcRenderer;
|
||||||
|
|
||||||
|
// Skip autoUpdater tests in MAS build.
|
||||||
|
if (process.mas)
|
||||||
|
return;
|
||||||
|
|
||||||
describe('autoUpdater module', function() {
|
describe('autoUpdater module', function() {
|
||||||
describe('checkForUpdates', function() {
|
describe('checkForUpdates', function() {
|
||||||
it('emits an error on Windows when called the feed URL is not set', function (done) {
|
it('emits an error on Windows when called the feed URL is not set', function (done) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue