Commit f477be4c authored by Phil Hughes's avatar Phil Hughes

Merge branch 'xanf-remove-attachToDocument-196752' into 'master'

Remove useless attachToDocument usage in ee/spec/frontend/environments_dashboard

Closes #196752

See merge request gitlab-org/gitlab!23051
parents 9afaa94c d892fa36
...@@ -25,7 +25,6 @@ describe('Environment Header', () => { ...@@ -25,7 +25,6 @@ describe('Environment Header', () => {
describe('renders name and link to app', () => { describe('renders name and link to app', () => {
beforeEach(() => { beforeEach(() => {
wrapper = mount(component, { wrapper = mount(component, {
attachToDocument: true,
propsData, propsData,
}); });
}); });
...@@ -60,7 +59,6 @@ describe('Environment Header', () => { ...@@ -60,7 +59,6 @@ describe('Environment Header', () => {
propsData.environment.name = 'review/testing'; propsData.environment.name = 'review/testing';
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
attachToDocument: true,
propsData, propsData,
}); });
}); });
...@@ -85,7 +83,6 @@ describe('Environment Header', () => { ...@@ -85,7 +83,6 @@ describe('Environment Header', () => {
propsData.hasErrors = true; propsData.hasErrors = true;
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
attachToDocument: true,
propsData, propsData,
}); });
}); });
...@@ -100,7 +97,6 @@ describe('Environment Header', () => { ...@@ -100,7 +97,6 @@ describe('Environment Header', () => {
propsData.hasPipelineFailed = true; propsData.hasPipelineFailed = true;
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
attachToDocument: true,
propsData, propsData,
}); });
}); });
......
...@@ -14,7 +14,6 @@ describe('Environment', () => { ...@@ -14,7 +14,6 @@ describe('Environment', () => {
environment, environment,
}; };
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
attachToDocument: true,
propsData, propsData,
}); });
}); });
...@@ -91,7 +90,6 @@ describe('Environment', () => { ...@@ -91,7 +90,6 @@ describe('Environment', () => {
}, },
}; };
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
attachToDocument: true,
propsData, propsData,
}); });
...@@ -109,7 +107,6 @@ describe('Environment', () => { ...@@ -109,7 +107,6 @@ describe('Environment', () => {
}, },
}; };
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
attachToDocument: true,
propsData, propsData,
}); });
......
...@@ -22,7 +22,6 @@ describe('Project Header', () => { ...@@ -22,7 +22,6 @@ describe('Project Header', () => {
beforeEach(() => { beforeEach(() => {
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
attachToDocument: true,
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