1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-02 09:43:29 +00:00

update test in ExtensionAuthRequestAnsweringService

This commit is contained in:
rr-bw
2025-11-07 11:07:36 -08:00
parent ad8b433627
commit d50f06aece

View File

@@ -108,7 +108,9 @@ describe("ExtensionAuthRequestAnsweringService", () => {
// Assert
expect(messagingService.send).toHaveBeenCalledTimes(1);
expect(messagingService.send).toHaveBeenCalledWith("openLoginApproval");
expect(messagingService.send).toHaveBeenCalledWith("openLoginApproval", {
notificationId: authRequestId,
});
});
it("should not send an 'openLoginApproval' message if the popup is closed", async () => {