Clear lock after every project structure test

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: af64d6ce2c81df55923e73597c97de6f394d54bb
This commit is contained in:
Andrew Rumble 2024-11-07 15:59:58 +00:00 committed by Copybot
parent 4324c4a089
commit ac84c582b1

View file

@ -75,7 +75,7 @@ describe('ProjectStructureMongoLock', function () {
})
})
after(function (done) {
afterEach(function (done) {
return LockManager._releaseLock(this.lock_key, this.lockValue, done)
})