enabled deleting of events and updated the frontend to always show tw… #3031
Annotations
5 errors
src/Resources/tests/unit/stores/dashboardStore.spec.ts#L96
TypeError: Cannot read properties of undefined (reading 'participations')
❯ tests/unit/stores/dashboardStore.spec.ts:96:53
|
src/Resources/tests/unit/stores/eventsStore.spec.ts#L108
AssertionError: expected { id: 49, …(3) } to deeply equal { id: 48, …(3) }
- Expected
+ Received
Object {
- "id": 48,
+ "id": 49,
"public": true,
"slug": "alumni-afterwork",
"title": "Alumni Afterwork",
}
❯ tests/unit/stores/eventsStore.spec.ts:108:41
|
src/Resources/src/stores/eventsStore.ts#L233
TypeError: Cannot read properties of undefined (reading 'id')
❯ getEventIdBySlug src/stores/eventsStore.ts:233:70
❯ getParticipantsForEvent src/stores/eventsStore.ts:201:70
❯ tests/unit/stores/eventsStore.spec.ts:156:29
|
src/Resources/src/stores/weeksStore.ts#L260
TypeError: Cannot convert undefined or null to object
❯ getMenuDay src/stores/weeksStore.ts:260:47
❯ tests/unit/stores/weeksStore.spec.ts:98:25
|
|
This job failed
Loading