Remove unused clientAddr from ProxyPair

This commit is contained in:
Arlo Breault 2017-01-23 12:33:55 -08:00
parent 5212eda6b2
commit d1ec51bfb9
4 changed files with 4 additions and 6 deletions

View file

@ -7,8 +7,7 @@ describe 'ProxyPair', ->
fakeRelay = Parse.address '0.0.0.0:12345'
rateLimit = new DummyRateLimit()
destination = []
fakeClient = send: (d) -> destination.push d
pp = new ProxyPair(fakeClient, fakeRelay, rateLimit)
pp = new ProxyPair(fakeRelay, rateLimit)
it 'begins webrtc connection', ->
pp.begin()

View file

@ -159,13 +159,12 @@ describe 'ProxyPair', ->
fakeRelay = Parse.address '0.0.0.0:12345'
rateLimit = new DummyRateLimit()
destination = []
fakeClient = send: (d) -> destination.push d
# Fake snowflake to interact with
snowflake = {
broker:
sendAnswer: ->
}
pp = new ProxyPair(fakeClient, fakeRelay, rateLimit)
pp = new ProxyPair(fakeRelay, rateLimit)
it 'begins webrtc connection', ->
pp.begin()