1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-07 19:07:45 +01:00
This commit is contained in:
Evan Bassler 2025-01-03 09:25:15 -06:00
parent e783d37485
commit 77ee780230

View File

@ -1919,7 +1919,17 @@ describe("OverlayBackground", () => {
it("returns true if the overlay login ciphers are populated", async () => {
overlayBackground["inlineMenuCiphers"] = new Map([
["inline-menu-cipher-0", mock<CipherView>({ type: CipherType.Login })],
[
"inline-menu-cipher-0",
mock<CipherView>({
type: CipherType.Login,
login: {
username: "username1",
password: "password1",
uri: "https://example.com",
},
}),
],
]);
await overlayBackground["getInlineMenuCipherData"]();