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

@@ -27,11 +27,11 @@ describe('InactiveProjectManager', function () {
this.settings = {}
this.DocstoreManager = {
unarchiveProject: sinon.stub(),
archiveProject: sinon.stub()
archiveProject: sinon.stub(),
}
this.ProjectUpdateHandler = {
markAsActive: sinon.stub(),
markAsInactive: sinon.stub()
markAsInactive: sinon.stub(),
}
this.ProjectGetter = { getProject: sinon.stub() }
this.InactiveProjectManager = SandboxedModule.require(modulePath, {
@@ -41,8 +41,8 @@ describe('InactiveProjectManager', function () {
'../Docstore/DocstoreManager': this.DocstoreManager,
'../Project/ProjectUpdateHandler': this.ProjectUpdateHandler,
'../Project/ProjectGetter': this.ProjectGetter,
'../../models/Project': {}
}
'../../models/Project': {},
},
})
return (this.project_id = '1234')
})