From 5dd96310aedab8e0722dd5b334b1437749b9f537 Mon Sep 17 00:00:00 2001 From: Hannes Heine Date: Mon, 25 Jul 2022 11:39:17 +0200 Subject: [PATCH] Update frontend/src/pages/Community.spec.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Wolfgang Huß --- frontend/src/pages/Community.spec.js | 7 +++++++ 1 file changed, 7 insertions(+) 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()