1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 21:50:15 +00:00

Add mocks for ApiService and ConfigService in NotificationsService tests

This commit is contained in:
Rui Tome
2025-02-05 16:26:00 +00:00
parent 3b144bac54
commit 57d9548328

View File

@@ -66,6 +66,8 @@ describe("NotificationsService", () => {
signalRNotificationConnectionService = mock<SignalRConnectionService>();
authService = mock<AuthService>();
webPushNotificationConnectionService = mock<WorkerWebPushConnectionService>();
apiService = mock<ApiService>();
configService = mock<ConfigService>();
activeAccount = new BehaviorSubject<ObservedValueOf<AccountService["activeAccount$"]>>(null);
accountService.activeAccount$ = activeAccount.asObservable();