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:
committed by
sharelatex
parent
5c32523b53
commit
7588393580
@@ -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)
|
||||
}))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user