Skip to content

fix(events): add missing organizerId to response and fix incomplete test mocks causing 500 crashes #295

fix(events): add missing organizerId to response and fix incomplete test mocks causing 500 crashes

fix(events): add missing organizerId to response and fix incomplete test mocks causing 500 crashes #295

Triggered via pull request June 21, 2026 12:29
@yachikadevyachikadev
synchronize #627
Status Failure
Total duration 44s
Artifacts

ci.yml

on: pull_request_target
detect-changes
5s
detect-changes
comment-results
4s
comment-results
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
backend-ci
Process completed with exit code 1.
backend-ci
Process completed with exit code 2.
backend-ci
Property 'links' is missing in type '{ id: string; createdAt: Date; updatedAt: Date; userId: string; title: string; description: string | null; slug: string; visibility: CardVisibility; qrEnabled: boolean; viewCount: number; isDefault: boolean; }' but required in type 'CardResponse'.
backend-ci
Process completed with exit code 1.
src/__tests__/event.test.ts > Events API > GET /api/events/:slug — event details > 200 — returns event info with attendee count: apps/backend/src/__tests__/event.test.ts#L279
AssertionError: expected undefined to be 'user-uuid-001' // Object.is equality - Expected: "user-uuid-001" + Received: undefined ❯ src/__tests__/event.test.ts:279:32
backend-ci
Process completed with exit code 1.
backend-ci: apps/backend/src/routes/cards.ts#L6
'UpdatedCardResponse' is defined but never used. Allowed unused vars must match /^_/u
backend-ci: apps/backend/src/routes/nfc.ts#L14
Missing return type on function
backend-ci: apps/backend/src/routes/event.ts#L60
Missing return type on function
backend-ci: apps/backend/src/__tests__/event.test.ts#L489
Missing return type on function
backend-ci: apps/backend/src/__tests__/event.test.ts#L106
Missing return type on function