[MM-52333] Create Server View State module, move into new app
module (#2739)
* Create Server View State Module * Move currentServerId to serverViewState * Move view state into server view state module * PR feedback/bug fixes
This commit is contained in:
@@ -97,6 +97,9 @@ jest.mock('../../../electron-builder.json', () => ([
|
||||
},
|
||||
]));
|
||||
|
||||
jest.mock('app/serverViewState', () => ({
|
||||
init: jest.fn(),
|
||||
}));
|
||||
jest.mock('common/config', () => ({
|
||||
once: jest.fn(),
|
||||
on: jest.fn(),
|
||||
@@ -120,7 +123,6 @@ jest.mock('main/app/config', () => ({
|
||||
jest.mock('main/app/intercom', () => ({
|
||||
handleMainWindowIsShown: jest.fn(),
|
||||
}));
|
||||
jest.mock('main/app/servers', () => ({}));
|
||||
jest.mock('main/app/utils', () => ({
|
||||
clearAppCache: jest.fn(),
|
||||
getDeeplinkingURL: jest.fn(),
|
||||
|
Reference in New Issue
Block a user