diff options
Diffstat (limited to 'spec/frontend/vue_shared/components/chronic_duration_input_spec.js')
-rw-r--r-- | spec/frontend/vue_shared/components/chronic_duration_input_spec.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/frontend/vue_shared/components/chronic_duration_input_spec.js b/spec/frontend/vue_shared/components/chronic_duration_input_spec.js index 6932a812287..2a40511affb 100644 --- a/spec/frontend/vue_shared/components/chronic_duration_input_spec.js +++ b/spec/frontend/vue_shared/components/chronic_duration_input_spec.js @@ -10,8 +10,6 @@ describe('vue_shared/components/chronic_duration_input', () => { let hiddenElement; afterEach(() => { - wrapper.destroy(); - wrapper = null; textElement = null; hiddenElement = null; }); @@ -22,10 +20,6 @@ describe('vue_shared/components/chronic_duration_input', () => { }; const createComponent = (props = {}) => { - if (wrapper) { - throw new Error('There should only be one wrapper created per test'); - } - wrapper = mount(ChronicDurationInput, { propsData: props }); findComponents(); }; |