mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Stub out logger in tests
This commit is contained in:
@@ -12,6 +12,7 @@ describe "MongoManager", ->
|
||||
db: @db = { docs: {}, docOps: {} }
|
||||
ObjectId: ObjectId
|
||||
'metrics-sharelatex': {timeAsyncMethod: sinon.stub()}
|
||||
'logger-sharelatex': {log: ()->}
|
||||
@project_id = ObjectId().toString()
|
||||
@doc_id = ObjectId().toString()
|
||||
@callback = sinon.stub()
|
||||
|
||||
Reference in New Issue
Block a user