refactor: application dependency management (#2363)

This commit is contained in:
Mo
2023-07-23 15:54:31 -05:00
committed by GitHub
parent e698b1c990
commit a77535456c
299 changed files with 7415 additions and 4890 deletions

View File

@@ -14,8 +14,8 @@ import {
ApplicationEvent,
SessionsClientInterface,
SubscriptionManagerInterface,
SyncClientInterface,
SyncOpStatus,
SyncServiceInterface,
User,
UserClientInterface,
UserRequestType,
@@ -37,7 +37,7 @@ describe('ApplicationEventObserver', () => {
let accountMenuController: AccountMenuController
let preferencesController: PreferencesController
let syncStatusController: SyncStatusController
let syncClient: SyncClientInterface
let syncClient: SyncServiceInterface
let sessionManager: SessionsClientInterface
let subscriptionManager: SubscriptionManagerInterface
let toastService: ToastServiceInterface
@@ -81,7 +81,7 @@ describe('ApplicationEventObserver', () => {
syncStatusController = {} as jest.Mocked<SyncStatusController>
syncStatusController.update = jest.fn()
syncClient = {} as jest.Mocked<SyncClientInterface>
syncClient = {} as jest.Mocked<SyncServiceInterface>
syncClient.getSyncStatus = jest.fn().mockReturnValue({} as jest.Mocked<SyncOpStatus>)
sessionManager = {} as jest.Mocked<SessionsClientInterface>