Add webContents listeners to modals (#2247)

* Add webContents listeners to modals

* Fix tests
This commit is contained in:
Devin Binnie
2022-09-01 09:41:06 -04:00
committed by GitHub
parent 6d550a8a16
commit 4c968dc747
5 changed files with 47 additions and 15 deletions

View File

@@ -32,6 +32,10 @@ jest.mock('../windows/windowManager', () => ({
showMainWindow: jest.fn(),
}));
jest.mock('common/config', () => ({
spellcheck: true,
}));
jest.mock('common/utils/url', () => ({
parseURL: (url) => {
try {