Add webContents listeners to modals (#2247)
* Add webContents listeners to modals * Fix tests
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user