mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 12:24:25 +02:00
Merge pull request #6727 from overleaf/em-revert-logs-ui-split-test
Revert "Move new logs UI toggle to a split test" GitOrigin-RevId: 5f2aecb53d2df21c89da594b0a64c8cf8ca04bc6
This commit is contained in:
@@ -123,6 +123,11 @@ describe('ProjectController', function () {
|
||||
},
|
||||
inc: sinon.stub(),
|
||||
}
|
||||
this.NewLogsUIHelper = {
|
||||
getNewLogsUIVariantForUser: sinon
|
||||
.stub()
|
||||
.returns({ newLogsUI: false, subvariant: null }),
|
||||
}
|
||||
this.SplitTestHandler = {
|
||||
promises: {
|
||||
getAssignment: sinon.stub().resolves({ variant: 'default' }),
|
||||
@@ -170,6 +175,7 @@ describe('ProjectController', function () {
|
||||
'../../infrastructure/Modules': {
|
||||
hooks: { fire: sinon.stub().yields(null, []) },
|
||||
},
|
||||
'../Helpers/NewLogsUI': this.NewLogsUIHelper,
|
||||
'../Spelling/SpellingHandler': {
|
||||
getUserDictionary: sinon.stub().yields(null, []),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user