mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5" GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user