Commit 66ed051e authored by Vitaly Slobodin's avatar Vitaly Slobodin

Make diff specs compatible w/ BootstrapVue 2

parent cb759668
...@@ -92,6 +92,7 @@ describe('DiffFileHeader component', () => { ...@@ -92,6 +92,7 @@ describe('DiffFileHeader component', () => {
localVue, localVue,
store, store,
sync: false, sync: false,
attachToDocument: true,
}); });
}; };
......
...@@ -15,10 +15,11 @@ describe('DiffGutterAvatars', () => { ...@@ -15,10 +15,11 @@ describe('DiffGutterAvatars', () => {
const createComponent = (props = {}) => { const createComponent = (props = {}) => {
wrapper = shallowMount(DiffGutterAvatars, { wrapper = shallowMount(DiffGutterAvatars, {
localVue, localVue,
sync: false,
propsData: { propsData: {
...props, ...props,
}, },
sync: false,
attachToDocument: true,
}); });
}; };
......
...@@ -10,8 +10,9 @@ describe('EditButton', () => { ...@@ -10,8 +10,9 @@ describe('EditButton', () => {
const createComponent = (props = {}) => { const createComponent = (props = {}) => {
wrapper = shallowMount(EditButton, { wrapper = shallowMount(EditButton, {
localVue, localVue,
sync: false,
propsData: { ...props }, propsData: { ...props },
sync: false,
attachToDocument: true,
}); });
}; };
......
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