spec: Don't reuse port in session spec
This commit is contained in:
parent
b52c07f650
commit
417e97eef0
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@ describe 'session module', ->
|
||||||
res.end('finished')
|
res.end('finished')
|
||||||
server.close()
|
server.close()
|
||||||
|
|
||||||
port = remote.process.port
|
server.listen 0, '127.0.0.1', ->
|
||||||
server.listen port, '127.0.0.1', ->
|
|
||||||
{port} = server.address()
|
{port} = server.address()
|
||||||
w.loadUrl "#{url}:#{port}"
|
w.loadUrl "#{url}:#{port}"
|
||||||
w.webContents.on 'did-finish-load', ->
|
w.webContents.on 'did-finish-load', ->
|
||||||
|
|
Loading…
Reference in a new issue