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:
Milan Burda 2019-03-19 19:59:33 +01:00 committed by Samuel Attard
parent f4c3151815
commit 06a4594435
3 changed files with 18 additions and 37 deletions

View file

@ -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()
})