[MM-51961] Migrate calls widget to singleton (#2667)
* Migrate callsWidgetWindow to singleton * REVERT ME: removed references to ServerManager
This commit is contained in:
@@ -160,6 +160,9 @@ jest.mock('main/UserActivityMonitor', () => ({
|
||||
on: jest.fn(),
|
||||
startMonitoring: jest.fn(),
|
||||
}));
|
||||
jest.mock('main/windows/callsWidgetWindow', () => ({
|
||||
isCallsWidget: jest.fn(),
|
||||
}));
|
||||
jest.mock('main/windows/windowManager', () => ({
|
||||
showMainWindow: jest.fn(),
|
||||
sendToRenderer: jest.fn(),
|
||||
|
Reference in New Issue
Block a user