mock out metrics in test

This commit is contained in:
Shane Kilkelly 2017-03-31 14:54:20 +01:00
parent 60b298d9ee
commit 49de7bf315

View file

@ -21,6 +21,7 @@ describe "UserCreator", ->
"../../models/User": User:@UserModel
"./UserLocator":@UserLocator
"logger-sharelatex":{log:->}
'../../infrastructure/Metrics': {timeAsyncMethod: ()->}
@email = "bob.oswald@gmail.com"