Explorar o código

mock out metrics in test

Shane Kilkelly %!s(int64=9) %!d(string=hai) anos
pai
achega
49de7bf315

+ 1 - 0
services/web/test/UnitTests/coffee/User/UserCreatorTests.coffee

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