Commit 8ea63aaa authored by Illya Klymov's avatar Illya Klymov

Remove useless attachToDocument property

attachToDocument property is not needed
parent 4ac2a641
...@@ -9,7 +9,6 @@ describe('Monitoring Component', () => { ...@@ -9,7 +9,6 @@ describe('Monitoring Component', () => {
const createWrapper = () => { const createWrapper = () => {
wrapper = shallowMount(MonitoringComponent, { wrapper = shallowMount(MonitoringComponent, {
attachToDocument: true,
propsData: { propsData: {
monitoringUrl, monitoringUrl,
}, },
......
...@@ -13,7 +13,6 @@ describe('Rollback Component', () => { ...@@ -13,7 +13,6 @@ describe('Rollback Component', () => {
isLastDeployment: true, isLastDeployment: true,
environment: {}, environment: {},
}, },
attachToDocument: true,
}); });
expect(wrapper.element).toHaveSpriteIcon('repeat'); expect(wrapper.element).toHaveSpriteIcon('repeat');
...@@ -26,7 +25,6 @@ describe('Rollback Component', () => { ...@@ -26,7 +25,6 @@ describe('Rollback Component', () => {
isLastDeployment: false, isLastDeployment: false,
environment: {}, environment: {},
}, },
attachToDocument: true,
}); });
expect(wrapper.element).toHaveSpriteIcon('redo'); expect(wrapper.element).toHaveSpriteIcon('redo');
......
...@@ -11,7 +11,6 @@ describe('Stop Component', () => { ...@@ -11,7 +11,6 @@ describe('Stop Component', () => {
const createWrapper = () => { const createWrapper = () => {
wrapper = shallowMount(StopComponent, { wrapper = shallowMount(StopComponent, {
attachToDocument: true,
propsData: { propsData: {
environment: {}, environment: {},
}, },
......
...@@ -7,7 +7,6 @@ describe('Stop Component', () => { ...@@ -7,7 +7,6 @@ describe('Stop Component', () => {
const mountWithProps = props => { const mountWithProps = props => {
wrapper = shallowMount(TerminalComponent, { wrapper = shallowMount(TerminalComponent, {
attachToDocument: true,
propsData: props, propsData: props,
}); });
}; };
......
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