mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Fix mocha complaining about returning Promise-like object
This commit is contained in:
@@ -34,6 +34,7 @@ describe "ProjectStructureMongoLock", ->
|
||||
namespace = ProjectEntityMongoUpdateHandler.LOCK_NAMESPACE
|
||||
@lock_key = "lock:web:#{namespace}:#{project._id}"
|
||||
LockManager._getLock @lock_key, namespace, done
|
||||
return
|
||||
|
||||
after (done) ->
|
||||
LockManager._releaseLock @lock_key, done
|
||||
|
||||
Reference in New Issue
Block a user