refactor: make shell.OpenExternal async (#17135)

This commit is contained in:
Shelley Vohr
2019-05-03 13:53:45 -07:00
committed by GitHub
parent 0755857a0c
commit 6d96f30ed3
16 changed files with 70 additions and 140 deletions

View File

@@ -198,7 +198,6 @@ describe('remote module', () => {
assert.strictEqual(typeof remote.app.getPath, 'function')
assert.strictEqual(typeof remote.webContents.getFocusedWebContents, 'function')
assert.strictEqual(typeof remote.clipboard.readText, 'function')
assert.strictEqual(typeof remote.shell.openExternalSync, 'function')
})
it('returns toString() of original function via toString()', () => {