Merge pull request #23472 from overleaf/rh-timeout-paywall-plans

Expose plan prices to compile timeout paywall

GitOrigin-RevId: 33ee11bc0b770a2786931894ba9ae57312a7efa9
This commit is contained in:
roo hutton
2025-02-14 09:03:45 +00:00
committed by Copybot
parent 8183c0785c
commit be8adaf142
5 changed files with 52 additions and 3 deletions
@@ -62,6 +62,11 @@ describe('ProjectController', function () {
getUsersSubscription: sinon.stub().resolves(),
},
}
this.SubscriptionController = {
promises: {
getRecommendedCurrency: sinon.stub().resolves({ currency: 'USD' }),
},
}
this.LimitationsManager = {
hasPaidSubscription: sinon.stub(),
promises: {
@@ -231,6 +236,7 @@ describe('ProjectController', function () {
'../User/UserController': this.UserController,
'./ProjectHelper': this.ProjectHelper,
'../Subscription/SubscriptionLocator': this.SubscriptionLocator,
'../Subscription/SubscriptionController': this.SubscriptionController,
'../Subscription/LimitationsManager': this.LimitationsManager,
'../Tags/TagsHandler': this.TagsHandler,
'../../models/User': { User: this.UserModel },