Merge pull request #3942 from overleaf/prettier-trailing-comma

Set Prettier's "trailingComma" setting to "es5"

GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
This commit is contained in:
Alf Eaton
2021-04-27 08:52:58 +01:00
committed by Copybot
parent 15011a9982
commit 1be43911b4
877 changed files with 20093 additions and 20064 deletions

View File

@@ -29,8 +29,8 @@ describe('ProjectUpdateHandler', function () {
this.ProjectModel.updateOne = sinon.stub().callsArg(3)
return (this.handler = SandboxedModule.require(modulePath, {
requires: {
'../../models/Project': { Project: this.ProjectModel }
}
'../../models/Project': { Project: this.ProjectModel },
},
}))
})
@@ -51,11 +51,11 @@ describe('ProjectUpdateHandler', function () {
this.ProjectModel.updateOne,
{
_id: this.project_id,
lastUpdated: { $lt: this.lastUpdatedAt }
lastUpdated: { $lt: this.lastUpdatedAt },
},
{
lastUpdated: this.lastUpdatedAt,
lastUpdatedBy: this.lastUpdatedBy
lastUpdatedBy: this.lastUpdatedBy,
}
)
return done()
@@ -69,11 +69,11 @@ describe('ProjectUpdateHandler', function () {
this.ProjectModel.updateOne,
{
_id: this.project_id,
lastUpdated: { $lt: this.fakeTime }
lastUpdated: { $lt: this.fakeTime },
},
{
lastUpdated: this.fakeTime,
lastUpdatedBy: null
lastUpdatedBy: null,
}
)
return done()