diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 12:08:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 12:08:36 +0300 |
commit | a74ca2457e7c8a26ff5e12211d741b473c86c0b8 (patch) | |
tree | 94c510c39dc9646ffd0c3af676ada798af74a444 /spec/frontend/terraform | |
parent | 06af519348e7254062a7d03ef3e421356ff8c64a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/terraform')
5 files changed, 0 insertions, 19 deletions
diff --git a/spec/frontend/terraform/components/empty_state_spec.js b/spec/frontend/terraform/components/empty_state_spec.js index 21bfff5f1be..db3de556244 100644 --- a/spec/frontend/terraform/components/empty_state_spec.js +++ b/spec/frontend/terraform/components/empty_state_spec.js @@ -16,10 +16,6 @@ describe('EmptyStateComponent', () => { wrapper = shallowMount(EmptyState, { propsData }); }); - afterEach(() => { - wrapper.destroy(); - }); - it('should render content', () => { expect(findEmptyState().props('title')).toBe( "Your project doesn't have any Terraform state files", diff --git a/spec/frontend/terraform/components/init_command_modal_spec.js b/spec/frontend/terraform/components/init_command_modal_spec.js index 911bb8878da..ca9aa26a776 100644 --- a/spec/frontend/terraform/components/init_command_modal_spec.js +++ b/spec/frontend/terraform/components/init_command_modal_spec.js @@ -49,10 +49,6 @@ describe('InitCommandModal', () => { }); }); - afterEach(() => { - wrapper.destroy(); - }); - describe('on rendering', () => { it('renders the explanatory text', () => { expect(findExplanatoryText().text()).toContain('personal access token'); diff --git a/spec/frontend/terraform/components/states_table_actions_spec.js b/spec/frontend/terraform/components/states_table_actions_spec.js index 40b7448d78d..004cd480c42 100644 --- a/spec/frontend/terraform/components/states_table_actions_spec.js +++ b/spec/frontend/terraform/components/states_table_actions_spec.js @@ -96,7 +96,6 @@ describe('StatesTableActions', () => { toast = null; unlockResponse = null; updateStateResponse = null; - wrapper.destroy(); }); describe('when the state is loading', () => { diff --git a/spec/frontend/terraform/components/states_table_spec.js b/spec/frontend/terraform/components/states_table_spec.js index 697e52e45ea..7c783c9f717 100644 --- a/spec/frontend/terraform/components/states_table_spec.js +++ b/spec/frontend/terraform/components/states_table_spec.js @@ -140,11 +140,6 @@ describe('StatesTable', () => { return createComponent(); }); - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - it.each` name | toolTipText | hasBadge | loading | lineNumber ${'state-1'} | ${'Locked by user-1 2 days ago'} | ${true} | ${false} | ${0} diff --git a/spec/frontend/terraform/components/terraform_list_spec.js b/spec/frontend/terraform/components/terraform_list_spec.js index 580951e799a..dc59e2769f6 100644 --- a/spec/frontend/terraform/components/terraform_list_spec.js +++ b/spec/frontend/terraform/components/terraform_list_spec.js @@ -63,11 +63,6 @@ describe('TerraformList', () => { const findStatesTable = () => wrapper.findComponent(StatesTable); const findTab = () => wrapper.findComponent(GlTab); - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - describe('when the terraform query has succeeded', () => { describe('when there is a list of terraform states', () => { const states = [ |