diff options
Diffstat (limited to 'spec/frontend/vue_shared/components/awards_list_spec.js')
-rw-r--r-- | spec/frontend/vue_shared/components/awards_list_spec.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/frontend/vue_shared/components/awards_list_spec.js b/spec/frontend/vue_shared/components/awards_list_spec.js index c7f9d8fd8d5..da5516f8db1 100644 --- a/spec/frontend/vue_shared/components/awards_list_spec.js +++ b/spec/frontend/vue_shared/components/awards_list_spec.js @@ -64,16 +64,7 @@ const REACTION_CONTROL_CLASSES = [ describe('vue_shared/components/awards_list', () => { let wrapper; - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - const createComponent = (props = {}) => { - if (wrapper) { - throw new Error('There should only be one wrapper created per test'); - } - wrapper = mount(AwardsList, { propsData: props }); }; const matchingEmojiTag = (name) => expect.stringMatching(`gl-emoji data-name="${name}"`); @@ -98,7 +89,6 @@ describe('vue_shared/components/awards_list', () => { addButtonClass: TEST_ADD_BUTTON_CLASS, }); }); - it('shows awards in correct order', () => { expect(findAwardsData()).toEqual([ { |