mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Merge pull request #4715 from overleaf/ab-project-members-modal-split-test
Share modal split test GitOrigin-RevId: 274450564e1cbfc3ba3ec7c2ca60dfeda552a536
This commit is contained in:
committed by
Copybot
parent
dec0a501ad
commit
dd48a1cc3f
@@ -130,6 +130,14 @@ describe('ProjectController', function () {
|
||||
},
|
||||
getTestSegmentation: sinon.stub().yields(null, { enabled: false }),
|
||||
}
|
||||
this.SplitTestV2Handler = {
|
||||
promises: {
|
||||
getAssignment: sinon.stub().resolves({ active: false }),
|
||||
assignInLocalsContext: sinon.stub().resolves(),
|
||||
},
|
||||
getAssignment: sinon.stub().yields(null, { active: false }),
|
||||
assignInLocalsContext: sinon.stub().yields(null),
|
||||
}
|
||||
|
||||
this.ProjectController = SandboxedModule.require(MODULE_PATH, {
|
||||
requires: {
|
||||
@@ -137,6 +145,7 @@ describe('ProjectController', function () {
|
||||
'@overleaf/settings': this.settings,
|
||||
'@overleaf/metrics': this.Metrics,
|
||||
'../SplitTests/SplitTestHandler': this.SplitTestHandler,
|
||||
'../SplitTests/SplitTestV2Handler': this.SplitTestV2Handler,
|
||||
'./ProjectDeleter': this.ProjectDeleter,
|
||||
'./ProjectDuplicator': this.ProjectDuplicator,
|
||||
'./ProjectCreationHandler': this.ProjectCreationHandler,
|
||||
|
||||
Reference in New Issue
Block a user