fix(specs): Don’t run update channel check in specs

This commit is contained in:
Ben Gotow 2016-10-20 10:24:53 -07:00
parent d28c3acd6a
commit 211814aa7b

View file

@ -10,7 +10,10 @@ class UpdateChannelStore extends NylasStore {
super(); super();
this._current = {name: 'Loading...'}; this._current = {name: 'Loading...'};
this._available = [{name: 'Loading...'}]; this._available = [{name: 'Loading...'}];
this.refreshChannel();
if (NylasEnv.isMainWindow()) {
this.refreshChannel();
}
} }
current() { current() {