From 9e651d77b28064aa5be542cc1e5a11ae418056c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Alby?= Date: Mon, 21 Oct 2019 20:48:36 +0700 Subject: [PATCH] Merge pull request #2270 from overleaf/bg-fix-lock-unit-test add stub for metrics in unit test GitOrigin-RevId: 2920a192f6bd4c892cead766d7393909bfcf8b12 --- .../unit/src/infrastructure/LockManager/ReleasingTheLock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/unit/src/infrastructure/LockManager/ReleasingTheLock.js b/services/web/test/unit/src/infrastructure/LockManager/ReleasingTheLock.js index 0797ffc627..4389405d3f 100644 --- a/services/web/test/unit/src/infrastructure/LockManager/ReleasingTheLock.js +++ b/services/web/test/unit/src/infrastructure/LockManager/ReleasingTheLock.js @@ -26,7 +26,7 @@ describe('LockManager - releasing the lock', function() { 'logger-sharelatex': { log() {} }, - + 'metrics-sharelatex': {}, './RedisWrapper': { client() { return {