[MM-35666] Re-ordered the priority of badge sources to leave session expired to last (#1955)

* Fixing some annoying things/stuff I broke

* [MM-35666] Re-ordered the priority of badge sources to leave session expired to last

* Fix tests
This commit is contained in:
Devin Binnie
2022-01-25 09:51:25 -05:00
committed by GitHub
parent c43dfe6002
commit 6803310217
7 changed files with 23 additions and 32 deletions

View File

@@ -310,7 +310,7 @@ describe('main/views/MattermostView', () => {
});
describe('updateMentionsFromTitle', () => {
const mattermostView = new MattermostView(tabView, {remoteInfo: {serverVersion: '5.28.0'}}, {}, {});
const mattermostView = new MattermostView(tabView, {}, {}, {});
it('should parse mentions from title', () => {
mattermostView.updateMentionsFromTitle('(7) Mattermost');