Commit 6fc4a1bd authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'upgrade-bootstrap-vue/specs-update-environment-dashboards' into 'master'

Make EE environments dashboards specs compatible w/ BootstrapVue 2

See merge request gitlab-org/gitlab!19908
parents 7f1f1bd7 f51f7c51
......@@ -28,6 +28,8 @@ describe('Environment Header', () => {
describe('renders name and link to app', () => {
beforeEach(() => {
wrapper = shallowMount(Component, {
sync: false,
attachToDocument: true,
propsData,
localVue,
});
......@@ -63,6 +65,8 @@ describe('Environment Header', () => {
propsData.environment.name = 'review/testing';
wrapper = shallowMount(Component, {
sync: false,
attachToDocument: true,
propsData,
localVue,
});
......@@ -90,6 +94,8 @@ describe('Environment Header', () => {
propsData.hasErrors = true;
wrapper = shallowMount(Component, {
sync: false,
attachToDocument: true,
propsData,
localVue,
});
......@@ -105,6 +111,8 @@ describe('Environment Header', () => {
propsData.hasPipelineFailed = true;
wrapper = shallowMount(Component, {
sync: false,
attachToDocument: true,
propsData,
localVue,
});
......
......@@ -17,6 +17,8 @@ describe('Environment', () => {
environment,
};
wrapper = shallowMount(Component, {
sync: false,
attachToDocument: true,
localVue,
propsData,
});
......@@ -94,6 +96,8 @@ describe('Environment', () => {
},
};
wrapper = shallowMount(Component, {
sync: false,
attachToDocument: true,
localVue,
propsData,
});
......@@ -112,6 +116,8 @@ describe('Environment', () => {
},
};
wrapper = shallowMount(Component, {
sync: false,
attachToDocument: true,
localVue,
propsData,
});
......
......@@ -25,6 +25,8 @@ describe('Project Header', () => {
beforeEach(() => {
wrapper = shallowMount(Component, {
sync: false,
attachToDocument: true,
propsData,
localVue,
});
......
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