1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

[PM-5741] Reworking usage of window object in BrowserApi.reloadExtension method (#8021)

* [PM-5741] Reworking usage of `window` object in BrowserApi.reloadExtension method

* [PM-5741] Reworking usage of `window` object in BrowserApi.reloadExtension method
This commit is contained in:
Cesar Gonzalez
2024-02-22 16:21:24 -06:00
committed by GitHub
parent 220268b25d
commit 57ac4e141b
4 changed files with 40 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ const runtime = {
addListener: jest.fn(),
removeListener: jest.fn(),
},
reload: jest.fn(),
};
const contextMenus = {