Make cycle analytics specs compatible w/ BototstrapVue 2

parent 413e010f
......@@ -33,6 +33,8 @@ const mockStubs = {
function createComponent({ props = {}, shallow = false, Component = StageEventList, stubs }) {
const func = shallow ? shallowMount : mount;
return func(Component, {
attachToDocument: true,
sync: false,
propsData: {
stage: issueStage,
events: issueEvents,
......
......@@ -47,6 +47,7 @@ function createComponent(props = {}, shallow = false) {
'gl-loading-icon': true,
},
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