Commit d892fa36 authored by Illya Klymov's avatar Illya Klymov

Remove useless attachToDocument property

attachToDocument property is not needed
parent 56d2fcfd
...@@ -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