diff options
Diffstat (limited to 'spec/frontend/security_configuration/components')
6 files changed, 0 insertions, 15 deletions
diff --git a/spec/frontend/security_configuration/components/app_spec.js b/spec/frontend/security_configuration/components/app_spec.js index ee1121abbee..5ef387adf39 100644 --- a/spec/frontend/security_configuration/components/app_spec.js +++ b/spec/frontend/security_configuration/components/app_spec.js @@ -129,10 +129,6 @@ describe('App component', () => { const findAutoDevopsEnabledAlert = () => wrapper.findComponent(AutoDevopsEnabledAlert); const findVulnerabilityManagementTab = () => wrapper.findByTestId('vulnerability-management-tab'); - afterEach(() => { - wrapper.destroy(); - }); - describe('basic structure', () => { beforeEach(() => { createComponent(); diff --git a/spec/frontend/security_configuration/components/auto_dev_ops_alert_spec.js b/spec/frontend/security_configuration/components/auto_dev_ops_alert_spec.js index 467ae35408c..df1fa1a8084 100644 --- a/spec/frontend/security_configuration/components/auto_dev_ops_alert_spec.js +++ b/spec/frontend/security_configuration/components/auto_dev_ops_alert_spec.js @@ -23,10 +23,6 @@ describe('AutoDevopsAlert component', () => { createComponent(); }); - afterEach(() => { - wrapper.destroy(); - }); - it('contains correct body text', () => { expect(wrapper.text()).toContain('Quickly enable all'); }); diff --git a/spec/frontend/security_configuration/components/auto_dev_ops_enabled_alert_spec.js b/spec/frontend/security_configuration/components/auto_dev_ops_enabled_alert_spec.js index 778fea2896a..22f45a92f70 100644 --- a/spec/frontend/security_configuration/components/auto_dev_ops_enabled_alert_spec.js +++ b/spec/frontend/security_configuration/components/auto_dev_ops_enabled_alert_spec.js @@ -21,10 +21,6 @@ describe('AutoDevopsEnabledAlert component', () => { createComponent(); }); - afterEach(() => { - wrapper.destroy(); - }); - it('contains correct body text', () => { expect(wrapper.text()).toMatchInterpolatedText(AutoDevopsEnabledAlert.i18n.body); }); diff --git a/spec/frontend/security_configuration/components/feature_card_spec.js b/spec/frontend/security_configuration/components/feature_card_spec.js index d10722be8ea..7c91c13c6d7 100644 --- a/spec/frontend/security_configuration/components/feature_card_spec.js +++ b/spec/frontend/security_configuration/components/feature_card_spec.js @@ -78,7 +78,6 @@ describe('FeatureCard component', () => { }; afterEach(() => { - wrapper.destroy(); feature = undefined; }); diff --git a/spec/frontend/security_configuration/components/training_provider_list_spec.js b/spec/frontend/security_configuration/components/training_provider_list_spec.js index f378c600ce1..1f8f306c931 100644 --- a/spec/frontend/security_configuration/components/training_provider_list_spec.js +++ b/spec/frontend/security_configuration/components/training_provider_list_spec.js @@ -132,7 +132,6 @@ describe('TrainingProviderList component', () => { const toggleFirstProvider = () => findFirstToggle().vm.$emit('change', testProviderIds[0]); afterEach(() => { - wrapper.destroy(); apolloProvider = null; }); diff --git a/spec/frontend/security_configuration/components/upgrade_banner_spec.js b/spec/frontend/security_configuration/components/upgrade_banner_spec.js index c34d8e47a6c..97087877224 100644 --- a/spec/frontend/security_configuration/components/upgrade_banner_spec.js +++ b/spec/frontend/security_configuration/components/upgrade_banner_spec.js @@ -44,7 +44,6 @@ describe('UpgradeBanner component', () => { }); afterEach(() => { - wrapper.destroy(); unmockTracking(); }); |