1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-06 23:51:28 +01:00

[PM-5189] Removing the messageOrigin to ensure we test that it is being set when passing the fist window message to the overlay page iframe element

This commit is contained in:
Cesar Gonzalez 2024-04-16 11:23:59 -05:00
parent f63d864784
commit ab80443073
No known key found for this signature in database
GPG Key ID: 3381A5457F8CCECF

View File

@ -21,7 +21,6 @@ describe("AutofillOverlayList", () => {
beforeEach(() => {
document.body.innerHTML = `<autofill-overlay-list></autofill-overlay-list>`;
autofillOverlayList = document.querySelector("autofill-overlay-list");
autofillOverlayList["messageOrigin"] = "https://localhost/";
jest.spyOn(globalThis.document, "createElement");
jest.spyOn(globalThis.parent, "postMessage");
});