Make related items specs compatible w/ BootstrapVue 2

parent da75cddb
...@@ -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