mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 20:11:32 +02:00
Stub logger in unit tests
This commit is contained in:
@@ -9,6 +9,7 @@ describe "WebsocketLoadBalancer", ->
|
||||
"redis-sharelatex":
|
||||
createClient: () ->
|
||||
auth:->
|
||||
"logger-sharelatex": { log: sinon.stub(), err: sinon.stub() }
|
||||
@io = {}
|
||||
@WebsocketLoadBalancer.rclientPub = publish: sinon.stub()
|
||||
@WebsocketLoadBalancer.rclientSub =
|
||||
|
||||
Reference in New Issue
Block a user