added second event to the edit week site in the frontend, second even… #3032
Annotations
6 errors
src/Resources/src/components/menu/MenuDay.vue#L200
ReferenceError: getEventById is not defined
❯ src/components/menu/MenuDay.vue:200:3
❯ node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:1546:40
❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19
❯ callWithAsyncErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:210:17
❯ hook.__weh.hook.__weh node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:1526:19
❯ flushPostFlushCbs node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:385:32
❯ render node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5600:7
❯ mount node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2644:13
❯ Object.app.mount node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1463:19
❯ Proxy.mount node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8415:18
|
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