From e19806cf8b7330093bac7524038226247f52f1a0 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Thu, 22 Jun 2017 09:24:08 +0100 Subject: [PATCH] Mock out metrics in test --- services/spelling/test/unit/coffee/ASpellTests.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/spelling/test/unit/coffee/ASpellTests.coffee b/services/spelling/test/unit/coffee/ASpellTests.coffee index 742a5aadbb..50ddf87b4c 100644 --- a/services/spelling/test/unit/coffee/ASpellTests.coffee +++ b/services/spelling/test/unit/coffee/ASpellTests.coffee @@ -10,6 +10,9 @@ describe "ASpell", -> "logger-sharelatex": log:-> err:-> + 'metrics-sharelatex': + gauge:-> + inc: -> describe "a correctly spelled word", -> beforeEach (done) ->