this doesn't work

This commit is contained in:
Daniel Hengeveld
2016-02-05 12:11:18 -08:00
committed by Ben Ogle
parent 6d77e97901
commit e6a86d38d1

View File

@@ -17,6 +17,7 @@ fdescribe('Update', () => {
update.onDidBeginDownload(downloadingSpy)
update.onUpdateNotAvailable(noUpdateSpy)
// This doesn't work
const webContents = remote.getCurrentWebContents()
webContents.send('message', 'update-available', {releaseVersion: '1.2.3'})
webContents.send('message', 'did-begin-downloading-update')