diff options
Diffstat (limited to 'spec/frontend/invite_members/components/confetti_spec.js')
-rw-r--r-- | spec/frontend/invite_members/components/confetti_spec.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/frontend/invite_members/components/confetti_spec.js b/spec/frontend/invite_members/components/confetti_spec.js index 2f361f1dc1e..382569abfd9 100644 --- a/spec/frontend/invite_members/components/confetti_spec.js +++ b/spec/frontend/invite_members/components/confetti_spec.js @@ -6,16 +6,10 @@ jest.mock('canvas-confetti', () => ({ create: jest.fn(), })); -let wrapper; - const createComponent = () => { - wrapper = shallowMount(Confetti); + shallowMount(Confetti); }; -afterEach(() => { - wrapper.destroy(); -}); - describe('Confetti', () => { it('initiates confetti', () => { const basicCannon = jest.spyOn(Confetti.methods, 'basicCannon').mockImplementation(() => {}); |