Commit 7012cbf0 authored by Clement Ho's avatar Clement Ho

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

Remove useless attachToDocument usage in spec/frontend/environments

Closes #196756

See merge request gitlab-org/gitlab!23048
parents 0734d975 8ea63aaa
......@@ -9,7 +9,6 @@ describe('Monitoring Component', () => {
const createWrapper = () => {
wrapper = shallowMount(MonitoringComponent, {
attachToDocument: true,
propsData: {
monitoringUrl,
},
......
......@@ -13,7 +13,6 @@ describe('Rollback Component', () => {
isLastDeployment: true,
environment: {},
},
attachToDocument: true,
});
expect(wrapper.element).toHaveSpriteIcon('repeat');
......@@ -26,7 +25,6 @@ describe('Rollback Component', () => {
isLastDeployment: false,
environment: {},
},
attachToDocument: true,
});
expect(wrapper.element).toHaveSpriteIcon('redo');
......
......@@ -11,7 +11,6 @@ describe('Stop Component', () => {
const createWrapper = () => {
wrapper = shallowMount(StopComponent, {
attachToDocument: true,
propsData: {
environment: {},
},
......
......@@ -7,7 +7,6 @@ describe('Stop Component', () => {
const mountWithProps = props => {
wrapper = shallowMount(TerminalComponent, {
attachToDocument: true,
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