diff options
Diffstat (limited to 'spec/frontend/pipeline_wizard/components/commit_spec.js')
-rw-r--r-- | spec/frontend/pipeline_wizard/components/commit_spec.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/frontend/pipeline_wizard/components/commit_spec.js b/spec/frontend/pipeline_wizard/components/commit_spec.js index fa30b9c2b97..8f44a6c085b 100644 --- a/spec/frontend/pipeline_wizard/components/commit_spec.js +++ b/spec/frontend/pipeline_wizard/components/commit_spec.js @@ -74,10 +74,6 @@ describe('Pipeline Wizard - Commit Page', () => { createComponent(); }); - afterEach(() => { - wrapper.destroy(); - }); - it('shows a commit message input with the correct label', () => { expect(wrapper.findByTestId('commit_message').exists()).toBe(true); expect(wrapper.find('label[for="commit_message"]').text()).toBe(i18n.commitMessageLabel); @@ -121,10 +117,6 @@ describe('Pipeline Wizard - Commit Page', () => { expect(wrapper.findByTestId('load-error').exists()).toBe(true); expect(wrapper.findByTestId('load-error').text()).toBe(i18n.errors.loadError); }); - - afterEach(() => { - wrapper.destroy(); - }); }); describe('commit result handling', () => { @@ -151,7 +143,6 @@ describe('Pipeline Wizard - Commit Page', () => { }); afterEach(() => { - wrapper.destroy(); jest.clearAllMocks(); }); }); @@ -178,7 +169,6 @@ describe('Pipeline Wizard - Commit Page', () => { }); afterEach(() => { - wrapper.destroy(); jest.clearAllMocks(); }); }); @@ -246,10 +236,6 @@ describe('Pipeline Wizard - Commit Page', () => { await waitForPromises(); }); - afterEach(() => { - wrapper.destroy(); - }); - it('sets up without error', async () => { expect(consoleSpy).not.toHaveBeenCalled(); }); |