mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-12 01:54:02 +00:00
Fix mocha complaining about returning Promise-like object
This commit is contained in:
parent
bd7e4908a2
commit
3217a3fbf0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue