chore: remove special handling for dialog methods in remote module (#17412)
* chore: remove special handling for dialog methods in remote module * refactor: remove callFunction helper
This commit is contained in:
parent
f4c3151815
commit
06a4594435
3 changed files with 18 additions and 37 deletions
|
@ -77,7 +77,7 @@ describe('ipc main module', () => {
|
|||
})
|
||||
|
||||
ipcMain.once('error-message', (event, message) => {
|
||||
const correctMsgStart = message.startsWith('Cannot call function \'getURL\' on missing remote object')
|
||||
const correctMsgStart = message.startsWith('Cannot call method \'getURL\' on missing remote object')
|
||||
expect(correctMsgStart).to.be.true()
|
||||
done()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue