mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-08 00:29:04 +02:00
Merge pull request #17268 from overleaf/dp-remove-old-mongo-metrics
Remove timeAsyncMethod mongo metrics GitOrigin-RevId: 1ba3a1fd51b9d0766355c31791ae9836d832afe8
This commit is contained in:
@@ -19,7 +19,6 @@ describe('UserCreator', function () {
|
||||
'../../models/User': {
|
||||
User: this.UserModel,
|
||||
},
|
||||
'@overleaf/metrics': { timeAsyncMethod() {} },
|
||||
'../../infrastructure/Features': (this.Features = {
|
||||
hasFeature: sinon.stub().returns(false),
|
||||
}),
|
||||
|
||||
@@ -49,9 +49,6 @@ describe('UserGetter', function () {
|
||||
requires: {
|
||||
'../Helpers/Mongo': { normalizeQuery, normalizeMultiQuery },
|
||||
'../../infrastructure/mongodb': this.Mongo,
|
||||
'@overleaf/metrics': {
|
||||
timeAsyncMethod: sinon.stub(),
|
||||
},
|
||||
'@overleaf/settings': (this.settings = {
|
||||
reconfirmNotificationDays: 14,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user