diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-26 12:10:14 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-26 12:10:14 +0000 |
commit | ee0b7522d90ace2053f1d8dfcdf6b01d50179ed1 (patch) | |
tree | 06d525028469d48ad828a67e9fb98b1080d7685f /spec/frontend/surveys | |
parent | d79bf171e4bcbb551a8320211ee337368b4d114c (diff) | |
download | gitlab-ce-ee0b7522d90ace2053f1d8dfcdf6b01d50179ed1.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/surveys')
-rw-r--r-- | spec/frontend/surveys/merge_request_performance/app_spec.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/frontend/surveys/merge_request_performance/app_spec.js b/spec/frontend/surveys/merge_request_performance/app_spec.js index 6e8cc660b1d..cd549155914 100644 --- a/spec/frontend/surveys/merge_request_performance/app_spec.js +++ b/spec/frontend/surveys/merge_request_performance/app_spec.js @@ -25,6 +25,9 @@ describe('MergeRequestExperienceSurveyApp', () => { shouldShowCallout, }); wrapper = shallowMountExtended(MergeRequestExperienceSurveyApp, { + propsData: { + accountAge: 0, + }, stubs: { UserCalloutDismisser: dismisserComponent, GlSprintf, @@ -82,11 +85,17 @@ describe('MergeRequestExperienceSurveyApp', () => { expect(trackingSpy).toHaveBeenCalledWith(undefined, 'survey:mr_experience', { value: 5, label: 'overall', + extra: { + accountAge: 0, + }, }); rate.vm.$emit('rate', 4); expect(trackingSpy).toHaveBeenCalledWith(undefined, 'survey:mr_experience', { value: 4, label: 'performance', + extra: { + accountAge: 0, + }, }); }); |