diff --git a/frontend/src/pages/Community.spec.js b/frontend/src/pages/Community.spec.js index 7a778293b..828e86a6d 100644 --- a/frontend/src/pages/Community.spec.js +++ b/frontend/src/pages/Community.spec.js @@ -296,6 +296,13 @@ describe('Community', () => { }) describe('delete contribution', () => { + let contributionListComponent + + beforeEach(async () => { + await wrapper.setData({ tabIndex: 1 }) + contributionListComponent = await wrapper.findComponent({ name: 'ContributionList' }) + }) + describe('with success', () => { beforeEach(async () => { jest.clearAllMocks()