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
@@ -151,7 +151,7 @@ describe('ProjectOptionsHandler', function() {
|
||||
})
|
||||
})
|
||||
|
||||
describe('unsetting the brandVariationId', () =>
|
||||
describe('unsetting the brandVariationId', function() {
|
||||
it('should perform and update on mongo', function(done) {
|
||||
this.handler.unsetBrandVariationId(project_id, err => {
|
||||
const args = this.projectModel.update.args[0]
|
||||
@@ -160,5 +160,6 @@ describe('ProjectOptionsHandler', function() {
|
||||
return done()
|
||||
})
|
||||
return this.projectModel.update.args[0][3]()
|
||||
}))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user