Update to new metrics api

This commit is contained in:
Shane Kilkelly
2017-03-17 14:58:35 +00:00
parent c30e672549
commit fa7ee739bb
2 changed files with 8 additions and 12 deletions
@@ -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()