mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 13:21:37 +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:
@@ -13,35 +13,35 @@ describe('BetaProgramController', function () {
|
||||
_id: (this.user_id = 'a_simple_id'),
|
||||
email: 'user@example.com',
|
||||
features: {},
|
||||
betaProgram: false
|
||||
betaProgram: false,
|
||||
}
|
||||
this.req = {
|
||||
query: {},
|
||||
session: {
|
||||
user: this.user
|
||||
}
|
||||
user: this.user,
|
||||
},
|
||||
}
|
||||
this.BetaProgramController = SandboxedModule.require(modulePath, {
|
||||
requires: {
|
||||
'./BetaProgramHandler': (this.BetaProgramHandler = {
|
||||
optIn: sinon.stub(),
|
||||
optOut: sinon.stub()
|
||||
optOut: sinon.stub(),
|
||||
}),
|
||||
'../User/UserGetter': (this.UserGetter = {
|
||||
getUser: sinon.stub()
|
||||
getUser: sinon.stub(),
|
||||
}),
|
||||
'settings-sharelatex': (this.settings = {
|
||||
languages: {}
|
||||
languages: {},
|
||||
}),
|
||||
'../Authentication/AuthenticationController': (this.AuthenticationController = {
|
||||
getLoggedInUserId: sinon.stub().returns(this.user._id)
|
||||
})
|
||||
}
|
||||
getLoggedInUserId: sinon.stub().returns(this.user._id),
|
||||
}),
|
||||
},
|
||||
})
|
||||
this.res = {
|
||||
send: sinon.stub(),
|
||||
redirect: sinon.stub(),
|
||||
render: sinon.stub()
|
||||
render: sinon.stub(),
|
||||
}
|
||||
this.next = sinon.stub()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user