feat(deps): update dependency electron to version 11.0.2 🌟 (#9222)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
This commit is contained in:
renovate[bot]
2020-11-20 18:58:55 -05:00
committed by GitHub
parent 8fb3ad9767
commit 2207bb105e
10 changed files with 27 additions and 12 deletions

View File

@@ -103,7 +103,16 @@ describe('Proxy', () => {
expect(res.socket.destroyed).to.be.true
// ensure the outgoing socket created for this connection was destroyed
expect(net.connect).calledOnce
expect(net.connect.getCalls()[0].returnValue.destroyed).to.be.true
const socket = net.connect.getCalls()[0].returnValue
return new Promise((resolve) => {
socket.on('close', () => {
expect(socket.destroyed).to.be.true
resolve()
})
})
})
})