mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
this doesn't work
This commit is contained in:
committed by
Ben Ogle
parent
6d77e97901
commit
e6a86d38d1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user