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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user