mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Stub logger in unit tests
This commit is contained in:
parent
0ed7d0c811
commit
43a008c0bc
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ describe "WebsocketLoadBalancer", ->
|
||||||
"redis-sharelatex":
|
"redis-sharelatex":
|
||||||
createClient: () ->
|
createClient: () ->
|
||||||
auth:->
|
auth:->
|
||||||
|
"logger-sharelatex": { log: sinon.stub(), err: sinon.stub() }
|
||||||
@io = {}
|
@io = {}
|
||||||
@WebsocketLoadBalancer.rclientPub = publish: sinon.stub()
|
@WebsocketLoadBalancer.rclientPub = publish: sinon.stub()
|
||||||
@WebsocketLoadBalancer.rclientSub =
|
@WebsocketLoadBalancer.rclientSub =
|
||||||
|
|
Loading…
Reference in a new issue