From 62d9cad5e90993e23e3705678e442c5b3845b9a2 Mon Sep 17 00:00:00 2001 From: rr-bw <102181210+rr-bw@users.noreply.github.com> Date: Fri, 7 Nov 2025 16:42:21 -0800 Subject: [PATCH] update desktop service tests --- ...top-auth-request-answering.service.spec.ts | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/apps/desktop/src/auth/services/auth-request-answering/desktop-auth-request-answering.service.spec.ts b/apps/desktop/src/auth/services/auth-request-answering/desktop-auth-request-answering.service.spec.ts index aac1a5c1d07..bd66dcad505 100644 --- a/apps/desktop/src/auth/services/auth-request-answering/desktop-auth-request-answering.service.spec.ts +++ b/apps/desktop/src/auth/services/auth-request-answering/desktop-auth-request-answering.service.spec.ts @@ -9,10 +9,6 @@ import { ForceSetPasswordReason } from "@bitwarden/common/auth/models/domain/for import { PendingAuthRequestsStateService } from "@bitwarden/common/auth/services/auth-request-answering/pending-auth-requests.state"; import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; import { MessagingService } from "@bitwarden/common/platform/abstractions/messaging.service"; -import { - ButtonLocation, - SystemNotificationEvent, -} from "@bitwarden/common/platform/system-notifications/system-notifications.service"; import { UserId } from "@bitwarden/user-core"; import { DesktopAuthRequestAnsweringService } from "./desktop-auth-request-answering.service"; @@ -259,22 +255,4 @@ describe("DesktopAuthRequestAnsweringService", () => { }); }); }); - - describe("handleAuthRequestNotificationClicked()", () => { - it("should throw an error", async () => { - // Arrange - const event: SystemNotificationEvent = { - id: "123", - buttonIdentifier: ButtonLocation.NotificationButton, - }; - - // Act - const promise = sut.handleAuthRequestNotificationClicked(event); - - // Assert - await expect(promise).rejects.toThrow( - "handleAuthRequestNotificationClicked() not implemented for this client", - ); - }); - }); });