mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 03:21:56 +02:00
Merge pull request #18225 from overleaf/em-typescript-eslint
Add typescript-eslint rule: no-floating-promises GitOrigin-RevId: 8c3decdff537c885f5bfeb5250b7805480bc6602
This commit is contained in:
@@ -28,7 +28,7 @@ describe('BetaProgramHandler', function () {
|
||||
},
|
||||
}),
|
||||
'../Analytics/AnalyticsManager': (this.AnalyticsManager = {
|
||||
setUserPropertyForUser: sinon.stub().resolves(),
|
||||
setUserPropertyForUserInBackground: sinon.stub(),
|
||||
}),
|
||||
},
|
||||
})
|
||||
@@ -54,7 +54,7 @@ describe('BetaProgramHandler', function () {
|
||||
this.call(err => {
|
||||
expect(err).to.not.exist
|
||||
sinon.assert.calledWith(
|
||||
this.AnalyticsManager.setUserPropertyForUser,
|
||||
this.AnalyticsManager.setUserPropertyForUserInBackground,
|
||||
this.user_id,
|
||||
'beta-program',
|
||||
true
|
||||
@@ -105,7 +105,7 @@ describe('BetaProgramHandler', function () {
|
||||
this.call(err => {
|
||||
expect(err).to.not.exist
|
||||
sinon.assert.calledWith(
|
||||
this.AnalyticsManager.setUserPropertyForUser,
|
||||
this.AnalyticsManager.setUserPropertyForUserInBackground,
|
||||
this.user_id,
|
||||
'beta-program',
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user