Update frontend/src/pages/Community.spec.js

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
This commit is contained in:
Hannes Heine 2022-07-25 11:39:17 +02:00 committed by GitHub
parent aefd696dc7
commit 5dd96310ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()