[MM-40574] Fix for race condition where new server modal didn't show initially on Linux, resizing issues (#1865)

* FIx for linux modal sizing

* Fix race condition, merge'd
This commit is contained in:
Devin Binnie
2021-12-17 09:10:08 -05:00
committed by GitHub
parent 9b1ee66c8c
commit c4e63fb3f9
9 changed files with 48 additions and 17 deletions

View File

@@ -95,7 +95,9 @@ jest.mock('main/app/app', () => ({}));
jest.mock('main/app/config', () => ({
handleConfigUpdate: jest.fn(),
}));
jest.mock('main/app/intercom', () => ({}));
jest.mock('main/app/intercom', () => ({
addNewServerModalWhenMainWindowIsShown: jest.fn(),
}));
jest.mock('main/app/utils', () => ({
clearAppCache: jest.fn(),
getDeeplinkingURL: jest.fn(),