Commit b2703967 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'upgrade-bootstrap-vue/specs-update-related-items-tree' into 'master'

Make related items specs compatible w/ BootstrapVue 2

See merge request gitlab-org/gitlab!19916
parents 02b89eb5 0b0ff221
...@@ -30,6 +30,8 @@ const createComponent = ({ slots } = {}) => { ...@@ -30,6 +30,8 @@ const createComponent = ({ slots } = {}) => {
}); });
return shallowMount(RelatedItemsTreeHeader, { return shallowMount(RelatedItemsTreeHeader, {
attachToDocument: true,
sync: false,
localVue, localVue,
store, store,
slots, slots,
......
...@@ -46,6 +46,8 @@ const createComponent = (parentItem = mockParentItem, item = mockItem) => { ...@@ -46,6 +46,8 @@ const createComponent = (parentItem = mockParentItem, item = mockItem) => {
}); });
return shallowMount(TreeItemBody, { return shallowMount(TreeItemBody, {
attachToDocument: true,
sync: false,
localVue, localVue,
store, store,
propsData: { propsData: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment