mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 02:41:16 +00:00
Add logger stub to unit test
This commit is contained in:
parent
118511ae4a
commit
7fbc08d68a
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ describe "MongoManager", ->
|
|||
"./mongojs" : { db: @db = {}, ObjectId: ObjectId }
|
||||
"./PackManager" : @PackManager = {}
|
||||
'metrics-sharelatex': {timeAsyncMethod: ()->}
|
||||
'logger-sharelatex': {log: ()->}
|
||||
@callback = sinon.stub()
|
||||
@doc_id = ObjectId().toString()
|
||||
@project_id = ObjectId().toString()
|
||||
|
|
Loading…
Reference in a new issue