Merge pull request #2047 from overleaf/spd-eslint-mocha-arrows

Enforce consistent callback style in mocha tests

GitOrigin-RevId: a64c293dae6926ef5831abe97eaf2044942a5c85
This commit is contained in:
Simon Detheridge
2019-08-07 15:29:25 +00:00
committed by sharelatex
parent 5c32523b53
commit 7588393580
112 changed files with 1461 additions and 1308 deletions
@@ -74,7 +74,7 @@ describe('SubscriptionGroupController', function() {
}))
})
describe('removeUserFromGroup', () =>
describe('removeUserFromGroup', function() {
it('should use the subscription id for the logged in user and take the user id from the params', function(done) {
const userIdToRemove = '31231'
this.req.params = { user_id: userIdToRemove }
@@ -89,5 +89,6 @@ describe('SubscriptionGroupController', function() {
}
}
return this.Controller.removeUserFromGroup(this.req, res)
}))
})
})
})