mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-01 13:32:15 -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: {} }
|
db: @db = { docs: {}, docOps: {} }
|
||||||
ObjectId: ObjectId
|
ObjectId: ObjectId
|
||||||
'metrics-sharelatex': {timeAsyncMethod: sinon.stub()}
|
'metrics-sharelatex': {timeAsyncMethod: sinon.stub()}
|
||||||
|
'logger-sharelatex': {log: ()->}
|
||||||
@project_id = ObjectId().toString()
|
@project_id = ObjectId().toString()
|
||||||
@doc_id = ObjectId().toString()
|
@doc_id = ObjectId().toString()
|
||||||
@callback = sinon.stub()
|
@callback = sinon.stub()
|
||||||
|
|
Loading…
Reference in a new issue