diff options
Diffstat (limited to 'spec/frontend/pages/projects/pipeline_schedules/shared/components/interval_pattern_input_spec.js')
-rw-r--r-- | spec/frontend/pages/projects/pipeline_schedules/shared/components/interval_pattern_input_spec.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/frontend/pages/projects/pipeline_schedules/shared/components/interval_pattern_input_spec.js b/spec/frontend/pages/projects/pipeline_schedules/shared/components/interval_pattern_input_spec.js index 2d3b9afa8f6..07d05293a3c 100644 --- a/spec/frontend/pages/projects/pipeline_schedules/shared/components/interval_pattern_input_spec.js +++ b/spec/frontend/pages/projects/pipeline_schedules/shared/components/interval_pattern_input_spec.js @@ -37,10 +37,6 @@ describe('Interval Pattern Input Component', () => { const selectCustomRadio = () => findCustomRadio().setChecked(true); const createWrapper = (props = {}, data = {}) => { - if (wrapper) { - throw new Error('A wrapper already exists'); - } - wrapper = mount(IntervalPatternInput, { propsData: { ...props }, data() { @@ -64,8 +60,6 @@ describe('Interval Pattern Input Component', () => { }); afterEach(() => { - wrapper.destroy(); - wrapper = null; window.gl = oldWindowGl; }); |