fix post teaser unit tests and linting

This commit is contained in:
Moriz Wahl 2023-05-22 17:12:32 +02:00
parent 30ce9e8460
commit 59e7f8c0d2
2 changed files with 2 additions and 1 deletions

View File

@ -287,7 +287,7 @@ export default {
eventVenue: this.formData.eventVenue, eventVenue: this.formData.eventVenue,
eventEnd: this.formData.eventEnd, eventEnd: this.formData.eventEnd,
eventIsOnline: this.formData.eventIsOnline, eventIsOnline: this.formData.eventIsOnline,
eventLocationName: this.formData.eventLocationName eventLocationName: this.formData.eventLocationName,
} }
} }
return undefined return undefined

View File

@ -28,6 +28,7 @@ describe('PostTeaser', () => {
author: { author: {
id: 'u1', id: 'u1',
}, },
postType: 'Article',
}, },
} }
stubs = { stubs = {