add segmentation to user-registered event (#6711)

* add segmentation to `user-registered` event

GitOrigin-RevId: 9ba40c0a81aea488439758b992caeb7855c27f67
This commit is contained in:
Miguel Serrano
2022-02-16 11:38:09 +00:00
committed by Copybot
parent a3b01659a4
commit 1fb8f15005
2 changed files with 31 additions and 1 deletions
@@ -45,6 +45,11 @@ describe('UserCreator', function () {
recordEventForUser: sinon.stub(),
setUserPropertyForUser: sinon.stub(),
}),
'../SplitTests/SplitTestHandler': (this.SplitTestHandler = {
promises: {
getAssignmentForUser: sinon.stub().resolves({ variant: 'active' }),
},
}),
'./UserOnboardingEmailManager': (this.UserOnboardingEmailManager = {
scheduleOnboardingEmail: sinon.stub(),
}),