diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-04 21:11:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-04 21:11:05 +0300 |
commit | bbc241ab7fff1f6854a70eb56ee70b0dad2b6144 (patch) | |
tree | 2f3bb5bafed00cdc9a11ea9b5233b7dd6fded70b /spec/frontend/pages | |
parent | 714e16b260e01dd316574ab7baf0a73f61547d80 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pages')
-rw-r--r-- | spec/frontend/pages/groups/new/components/app_spec.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/frontend/pages/groups/new/components/app_spec.js b/spec/frontend/pages/groups/new/components/app_spec.js index 7ccded9b0f1..19240f1a044 100644 --- a/spec/frontend/pages/groups/new/components/app_spec.js +++ b/spec/frontend/pages/groups/new/components/app_spec.js @@ -6,7 +6,9 @@ describe('App component', () => { let wrapper; const createComponent = (propsData = {}) => { - wrapper = shallowMount(App, { propsData: { groupsUrl: '/dashboard/groups', ...propsData } }); + wrapper = shallowMount(App, { + propsData: { rootPath: '/', groupsUrl: '/dashboard/groups', ...propsData }, + }); }; const findNewNamespacePage = () => wrapper.findComponent(NewNamespacePage); @@ -20,6 +22,7 @@ describe('App component', () => { createComponent(); expect(findNewNamespacePage().props('initialBreadcrumbs')).toEqual([ + { href: '/', text: 'Your work' }, { href: '/dashboard/groups', text: 'Groups' }, { href: '#', text: 'New group' }, ]); |