diff options
Diffstat (limited to 'spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js')
-rw-r--r-- | spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js b/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js index c1051a14a08..4851e03f713 100644 --- a/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js +++ b/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js @@ -42,7 +42,6 @@ describe('Configure Feature Flags Modal', () => { wrapper.findAllComponents(GlAlert).filter((c) => c.props('variant') === 'danger'); describe('idle', () => { - afterEach(() => wrapper.destroy()); beforeEach(factory); it('should have Primary and Secondary actions', () => { @@ -112,7 +111,6 @@ describe('Configure Feature Flags Modal', () => { }); describe('verified', () => { - afterEach(() => wrapper.destroy()); beforeEach(factory); it('should enable the secondary action', async () => { @@ -124,7 +122,6 @@ describe('Configure Feature Flags Modal', () => { }); describe('cannot rotate token', () => { - afterEach(() => wrapper.destroy()); beforeEach(factory.bind(null, { canUserRotateToken: false })); it('should not display the primary action', () => { @@ -141,7 +138,6 @@ describe('Configure Feature Flags Modal', () => { }); describe('has rotate error', () => { - afterEach(() => wrapper.destroy()); beforeEach(() => { factory({ hasRotateError: true }); }); @@ -153,7 +149,6 @@ describe('Configure Feature Flags Modal', () => { }); describe('is rotating', () => { - afterEach(() => wrapper.destroy()); beforeEach(factory.bind(null, { isRotating: true })); it('should disable the project name input', async () => { |