mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 06:39:02 +02:00
New plans page: Show initial price value upon first render for group price data (#7974)
* New plans page: Show initial price value upon first render * fix wrong test on SubscriptionController and add new tests on SubscriptionHelper GitOrigin-RevId: a339a97cff2df0728ba35885af8953c8a0e0b7c8
This commit is contained in:
@@ -122,11 +122,15 @@ describe('SubscriptionController', function () {
|
||||
getAssignment: sinon.stub().resolves({ variant: 'default' }),
|
||||
},
|
||||
}
|
||||
this.SubscriptionHelper = {
|
||||
generateInitialLocalizedGroupPrice: sinon.stub(),
|
||||
}
|
||||
this.SubscriptionController = SandboxedModule.require(modulePath, {
|
||||
requires: {
|
||||
'../SplitTests/SplitTestHandler': this.SplitTestV2Hander,
|
||||
'../Authentication/SessionManager': this.SessionManager,
|
||||
'./SubscriptionHandler': this.SubscriptionHandler,
|
||||
'./SubscriptionHelper': this.SubscriptionHelper,
|
||||
'./PlansLocator': this.PlansLocator,
|
||||
'./SubscriptionViewModelBuilder': this.SubscriptionViewModelBuilder,
|
||||
'./LimitationsManager': this.LimitationsManager,
|
||||
|
||||
Reference in New Issue
Block a user