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/jobs | |
parent | b301036d090d8a7365f98a0444d09f8a09664834 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/jobs')
6 files changed, 0 insertions, 37 deletions
diff --git a/spec/frontend/jobs/components/job/empty_state_spec.js b/spec/frontend/jobs/components/job/empty_state_spec.js index c6ab259bf46..970c2591795 100644 --- a/spec/frontend/jobs/components/job/empty_state_spec.js +++ b/spec/frontend/jobs/components/job/empty_state_spec.js @@ -35,13 +35,6 @@ describe('Empty State', () => { const findAction = () => wrapper.findByTestId('job-empty-state-action'); const findManualVarsForm = () => wrapper.findComponent(ManualVariablesForm); - afterEach(() => { - if (wrapper?.destroy) { - wrapper.destroy(); - wrapper = null; - } - }); - describe('renders image and title', () => { beforeEach(() => { createWrapper(); diff --git a/spec/frontend/jobs/components/job/job_log_controllers_spec.js b/spec/frontend/jobs/components/job/job_log_controllers_spec.js index db060c0d606..218096b9745 100644 --- a/spec/frontend/jobs/components/job/job_log_controllers_spec.js +++ b/spec/frontend/jobs/components/job/job_log_controllers_spec.js @@ -16,9 +16,6 @@ describe('Job log controllers', () => { }); afterEach(() => { - if (wrapper?.destroy) { - wrapper.destroy(); - } commonUtils.backOff.mockReset(); }); diff --git a/spec/frontend/jobs/components/job/job_retry_forward_deployment_modal_spec.js b/spec/frontend/jobs/components/job/job_retry_forward_deployment_modal_spec.js index 712269a1e83..a44a13259aa 100644 --- a/spec/frontend/jobs/components/job/job_retry_forward_deployment_modal_spec.js +++ b/spec/frontend/jobs/components/job/job_retry_forward_deployment_modal_spec.js @@ -27,13 +27,6 @@ describe('Job Retry Forward Deployment Modal', () => { }); }; - afterEach(() => { - if (wrapper) { - wrapper.destroy(); - wrapper = null; - } - }); - beforeEach(createWrapper); describe('Modal configuration', () => { diff --git a/spec/frontend/jobs/components/job/job_sidebar_details_container_spec.js b/spec/frontend/jobs/components/job/job_sidebar_details_container_spec.js index 4da17ed8366..c1028f3929d 100644 --- a/spec/frontend/jobs/components/job/job_sidebar_details_container_spec.js +++ b/spec/frontend/jobs/components/job/job_sidebar_details_container_spec.js @@ -26,13 +26,6 @@ describe('Job Sidebar Details Container', () => { ); }; - afterEach(() => { - if (wrapper) { - wrapper.destroy(); - wrapper = null; - } - }); - describe('when no details are available', () => { beforeEach(() => { createWrapper(); diff --git a/spec/frontend/jobs/components/job/job_sidebar_retry_button_spec.js b/spec/frontend/jobs/components/job/job_sidebar_retry_button_spec.js index 91821a38a78..8a63bfdc3d6 100644 --- a/spec/frontend/jobs/components/job/job_sidebar_retry_button_spec.js +++ b/spec/frontend/jobs/components/job/job_sidebar_retry_button_spec.js @@ -24,12 +24,6 @@ describe('Job Sidebar Retry Button', () => { }); }; - afterEach(() => { - if (wrapper) { - wrapper.destroy(); - } - }); - beforeEach(createWrapper); it.each([ diff --git a/spec/frontend/jobs/components/job/stuck_block_spec.js b/spec/frontend/jobs/components/job/stuck_block_spec.js index 8dc570cce27..0f014a9222b 100644 --- a/spec/frontend/jobs/components/job/stuck_block_spec.js +++ b/spec/frontend/jobs/components/job/stuck_block_spec.js @@ -5,13 +5,6 @@ import StuckBlock from '~/jobs/components/job/stuck_block.vue'; describe('Stuck Block Job component', () => { let wrapper; - afterEach(() => { - if (wrapper?.destroy) { - wrapper.destroy(); - wrapper = null; - } - }); - const createWrapper = (props) => { wrapper = shallowMount(StuckBlock, { propsData: { |