mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Update to new metrics api
This commit is contained in:
@@ -14,6 +14,7 @@ describe "MongoManager", ->
|
||||
@MongoManager = SandboxedModule.require modulePath, requires:
|
||||
"./mongojs" : { db: @db = {}, ObjectId: ObjectId }
|
||||
"./PackManager" : @PackManager = {}
|
||||
'metrics-sharelatex': {timeAsyncMethod: ()->}
|
||||
@callback = sinon.stub()
|
||||
@doc_id = ObjectId().toString()
|
||||
@project_id = ObjectId().toString()
|
||||
|
||||
Reference in New Issue
Block a user