mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 05:53:47 -05:00
Stub out logger in tests
This commit is contained in:
parent
f7bc400f22
commit
b14039715f
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue