mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02:00
Merge pull request #5352 from overleaf/jpa-no-var
[misc] fix eslint violations for `no-var` GitOrigin-RevId: c52e82f3a8a993b8662cc5aa56e7b95ca3c55832
This commit is contained in:
@@ -89,7 +89,7 @@ describe('ProjectStructureMongoLock', function () {
|
||||
'renameEntity',
|
||||
'addFolder',
|
||||
]
|
||||
for (var methodName of Array.from(LOCKING_UPDATE_METHODS)) {
|
||||
for (const methodName of Array.from(LOCKING_UPDATE_METHODS)) {
|
||||
it(`cannot call ProjectEntityMongoUpdateHandler.${methodName}`, function (done) {
|
||||
const method = ProjectEntityMongoUpdateHandler[methodName]
|
||||
const args = _.times(method.length - 2, _.constant(null))
|
||||
|
||||
Reference in New Issue
Block a user