merge main to develop #51
ci.yml
on: pull_request_target
Annotations
32 errors and 3 warnings
|
backend-ci
Process completed with exit code 1.
|
|
backend-ci
Parameter 'link' implicitly has an 'any' type.
|
|
backend-ci
Parameter 'm' implicitly has an 'any' type.
|
|
backend-ci
Parameter 'u' implicitly has an 'any' type.
|
|
backend-ci
Parameter 'tm' implicitly has an 'any' type.
|
|
backend-ci
'error' is of type 'unknown'.
|
|
backend-ci
Property 'PrismaClientKnownRequestError' does not exist on type 'typeof Prisma'.
|
|
backend-ci
Parameter 'tx' implicitly has an 'any' type.
|
|
backend-ci
Module '"@prisma/client"' has no exported member 'TeamRole'.
|
|
backend-ci
Argument of type '(code?: number | string) => never' is not assignable to parameter of type 'NormalizedPrecedure<(code?: string | number | null | undefined) => never>'.
|
|
backend-ci
Module '"@prisma/client"' has no exported member 'TeamRole'.
|
|
src/__tests__/event.test.ts > Events API > POST /api/events — create event > 201 — generates a unique slug when the first candidate is taken:
apps/backend/src/__tests__/event.test.ts#L219
AssertionError: expected 500 to be 201 // Object.is equality
- Expected
+ Received
- 201
+ 500
❯ src/__tests__/event.test.ts:219:30
|
|
src/__tests__/event.test.ts > Events API > POST /api/events — create event > 400 — rejects invalid date format:
apps/backend/src/__tests__/event.test.ts#L203
AssertionError: expected 500 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 500
❯ src/__tests__/event.test.ts:203:30
|
|
src/__tests__/event.test.ts > Events API > POST /api/events — create event > 400 — rejects event name longer than 100 characters:
apps/backend/src/__tests__/event.test.ts#L195
AssertionError: expected 500 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 500
❯ src/__tests__/event.test.ts:195:30
|
|
src/__tests__/event.test.ts > Events API > POST /api/events — create event > 400 — rejects event name shorter than 3 characters:
apps/backend/src/__tests__/event.test.ts#L189
AssertionError: expected 500 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 500
❯ src/__tests__/event.test.ts:189:30
|
|
src/__tests__/event.test.ts > Events API > POST /api/events — create event > 400 — rejects location longer than 100 characters:
apps/backend/src/__tests__/event.test.ts#L184
AssertionError: expected 500 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 500
❯ src/__tests__/event.test.ts:184:30
|
|
src/__tests__/event.test.ts > Events API > POST /api/events — create event > 400 — rejects location shorter than 2 characters:
apps/backend/src/__tests__/event.test.ts#L179
AssertionError: expected 500 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 500
❯ src/__tests__/event.test.ts:179:30
|
|
src/__tests__/event.test.ts > Events API > POST /api/events — create event > 400 — rejects missing location:
apps/backend/src/__tests__/event.test.ts#L174
AssertionError: expected 500 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 500
❯ src/__tests__/event.test.ts:174:30
|
|
src/__tests__/event.test.ts > Events API > POST /api/events — create event > 400 — rejects missing required fields (no dates, no location):
apps/backend/src/__tests__/event.test.ts#L168
AssertionError: expected 500 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 500
❯ src/__tests__/event.test.ts:168:30
|
|
src/__tests__/event.test.ts > Events API > POST /api/events — create event > 201 — creates event and returns it for authenticated organizer:
apps/backend/src/__tests__/event.test.ts#L143
AssertionError: expected 500 to be 201 // Object.is equality
- Expected
+ Received
- 201
+ 500
❯ src/__tests__/event.test.ts:143:30
|
|
src/__tests__/app.test.ts > GET /health > should return status ok:
apps/backend/src/utils/validateEnv.ts#L75
Error: process.exit unexpectedly called with "1"
❯ Module.validateEnv src/utils/validateEnv.ts:75:11
❯ Module.buildApp src/app.ts:33:3
❯ src/__tests__/app.test.ts:8:23
|
|
backend-ci
Process completed with exit code 2.
|
|
web-ci
Process completed with exit code 1.
|
|
web-ci
Process completed with exit code 1.
|
|
mobile-ci
Process completed with exit code 1.
|
|
mobile-ci
Process completed with exit code 1.
|
|
mobile-ci
Process completed with exit code 1.
|
|
mobile-ci:
apps/mobile/src/screens/TeamsScreen.tsx#L3
'FlatList' is defined but never used
|
|
mobile-ci:
apps/mobile/src/screens/TeamsScreen.tsx#L1
'useCallback' is defined but never used
|
|
mobile-ci:
apps/mobile/src/screens/TeamDetailScreen.tsx#L7
'Icon' is defined but never used
|
|
mobile-ci:
apps/mobile/src/screens/ScanScreen.tsx#L107
'err' is defined but never used
|
|
mobile-ci:
apps/mobile/src/screens/EventsScreen.tsx#L1
'useCallback' is defined but never used
|
|
mobile-ci:
apps/mobile/src/screens/HomeScreen.tsx#L254
Inline style: { opacity: 0 }
|
|
mobile-ci:
apps/mobile/src/navigation/MainTabs.tsx#L110
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “TabNavigator” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
|
mobile-ci:
apps/mobile/src/navigation/MainTabs.tsx#L99
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “TabNavigator” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|