1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 10:33:31 +00:00

update tests for DefaultAuthRequestAnsweringService

This commit is contained in:
rr-bw
2025-11-08 07:45:03 -08:00
parent 62d9cad5e9
commit ed72ea4284
3 changed files with 45 additions and 108 deletions

View File

@@ -2,7 +2,6 @@ import { mock, MockProxy } from "jest-mock-extended";
import { of } from "rxjs";
import { AccountService } from "@bitwarden/common/auth/abstractions/account.service";
import { AuthRequestAnsweringService } from "@bitwarden/common/auth/abstractions/auth-request-answering/auth-request-answering.service.abstraction";
import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service";
import { AuthenticationStatus } from "@bitwarden/common/auth/enums/authentication-status";
import { ForceSetPasswordReason } from "@bitwarden/common/auth/models/domain/force-set-password-reason";
@@ -21,7 +20,7 @@ describe("DesktopAuthRequestAnsweringService", () => {
let pendingAuthRequestsState: MockProxy<PendingAuthRequestsStateService>;
let i18nService: MockProxy<I18nService>;
let sut: AuthRequestAnsweringService;
let sut: DesktopAuthRequestAnsweringService;
const userId = "9f4c3452-6a45-48af-a7d0-74d3e8b65e4c" as UserId;
const authRequestId = "auth-request-id-123";