Merge pull request #23939 from overleaf/rh-cio-analytics-split-test

Only send events to customer.io if in campaign split test

GitOrigin-RevId: 572ad5efdfc1e86f525722c6a425fa1454f2cf3a
This commit is contained in:
roo hutton
2025-03-06 08:54:24 +00:00
committed by Copybot
parent 4441f42dea
commit 27e2adecab
8 changed files with 180 additions and 8 deletions
@@ -182,6 +182,7 @@ describe('ProjectController', function () {
promises: {
getAssignment: sinon.stub().resolves({ variant: 'default' }),
getAssignmentForUser: sinon.stub().resolves({ variant: 'default' }),
hasUserBeenAssignedToVariant: sinon.stub().resolves(false),
},
getAssignment: sinon.stub().yields(null, { variant: 'default' }),
}