Merge pull request #2270 from overleaf/bg-fix-lock-unit-test

add stub for metrics in unit test

GitOrigin-RevId: 2920a192f6bd4c892cead766d7393909bfcf8b12
This commit is contained in:
Timothée Alby 2019-10-21 20:48:36 +07:00 committed by sharelatex
parent de4205d6a0
commit 9e651d77b2

View file

@ -26,7 +26,7 @@ describe('LockManager - releasing the lock', function() {
'logger-sharelatex': {
log() {}
},
'metrics-sharelatex': {},
'./RedisWrapper': {
client() {
return {