diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-04 06:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-04 06:09:07 +0300 |
commit | 44ca34ad66b8b7f54c0c8a8f549aafb7293c8a38 (patch) | |
tree | 2c53ff23c11272b1546d5901c95ce1357bceb5c7 /spec/frontend/alert_management | |
parent | b301036d090d8a7365f98a0444d09f8a09664834 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/alert_management')
3 files changed, 0 insertions, 15 deletions
diff --git a/spec/frontend/alert_management/components/alert_management_empty_state_spec.js b/spec/frontend/alert_management/components/alert_management_empty_state_spec.js index 0d6bc1b74fb..b2889d429b1 100644 --- a/spec/frontend/alert_management/components/alert_management_empty_state_spec.js +++ b/spec/frontend/alert_management/components/alert_management_empty_state_spec.js @@ -19,12 +19,6 @@ describe('AlertManagementEmptyState', () => { mountComponent(); }); - afterEach(() => { - if (wrapper) { - wrapper.destroy(); - } - }); - const EmptyState = () => wrapper.findComponent(GlEmptyState); describe('Empty state', () => { diff --git a/spec/frontend/alert_management/components/alert_management_list_wrapper_spec.js b/spec/frontend/alert_management/components/alert_management_list_wrapper_spec.js index 3a5fb99fdf1..3cc2d59295c 100644 --- a/spec/frontend/alert_management/components/alert_management_list_wrapper_spec.js +++ b/spec/frontend/alert_management/components/alert_management_list_wrapper_spec.js @@ -20,12 +20,6 @@ describe('AlertManagementList', () => { mountComponent(); }); - afterEach(() => { - if (wrapper) { - wrapper.destroy(); - } - }); - describe('Alert List Wrapper', () => { it('should show the empty state when alerts are not enabled', () => { expect(wrapper.findComponent(AlertManagementEmptyState).exists()).toBe(true); diff --git a/spec/frontend/alert_management/components/alert_management_table_spec.js b/spec/frontend/alert_management/components/alert_management_table_spec.js index 3f709d8c9f5..afd88e1a6ac 100644 --- a/spec/frontend/alert_management/components/alert_management_table_spec.js +++ b/spec/frontend/alert_management/components/alert_management_table_spec.js @@ -79,9 +79,6 @@ describe('AlertManagementTable', () => { }); afterEach(() => { - if (wrapper) { - wrapper.destroy(); - } mock.restore(); }); |