Skip to content

Unify item and group data structures #430

Unify item and group data structures

Unify item and group data structures #430

Triggered via pull request January 4, 2025 03:45
Status Failure
Total duration 51s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 3 warnings
check
Process completed with exit code 1.
lint: src/lib/itemFilter.ts#L20
Unsafe return of a value of type error
lint: src/lib/itemFilter.ts#L20
Unsafe call of a(n) `error` type typed value
lint: src/lib/itemFilter.ts#L20
Unsafe call of a(n) `error` type typed value
lint: src/lib/itemFilter.ts#L22
Unsafe return of a value of type error
lint: src/lib/itemFilter.ts#L22
Unsafe call of a(n) `error` type typed value
lint: src/lib/itemFilter.ts#L25
Unsafe return of a value of type `any`
lint: src/lib/itemFilter.ts#L44
Unsafe return of a value of type error
lint: src/lib/itemFilter.ts#L49
Unsafe return of a value of type error
lint: src/lib/itemFilter.ts#L52
Unsafe return of a value of type error
lint: src/lib/itemFilter.ts#L52
Unsafe call of a(n) `error` type typed value
tests/endToEnd/pages.test.ts > Homepage loads: src/endpoints/fetch/fetch.ts#L80
Error: ApiError: [null] fetchFn is not a function ❯ Module.apiFetch src/endpoints/fetch/fetch.ts:80:13 ❯ Object.root tests/endToEnd/endpoints.ts:6:15 ❯ tests/endToEnd/pages.test.ts:15:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { error: 'fetchFn is not a function', code: null }
tests/endToEnd/pages.test.ts > About page loads: src/endpoints/fetch/fetch.ts#L80
Error: ApiError: [null] fetchFn is not a function ❯ Module.apiFetch src/endpoints/fetch/fetch.ts:80:13 ❯ Object.about tests/endToEnd/endpoints.ts:10:15 ❯ tests/endToEnd/pages.test.ts:19:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { error: 'fetchFn is not a function', code: null }
tests/endToEnd/pages.test.ts > About page loads with token provided: src/endpoints/fetch/fetch.ts#L80
Error: ApiError: [null] fetchFn is not a function ❯ Module.apiFetch src/endpoints/fetch/fetch.ts:80:13 ❯ Object.about tests/endToEnd/endpoints.ts:10:15 ❯ tests/endToEnd/pages.test.ts:23:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { error: 'fetchFn is not a function', code: null }
tests/endToEnd/pages.test.ts > Group page loads: tests/endToEnd/pages.test.ts#L27
TypeError: Cannot read properties of undefined (reading 'withId') ❯ tests/endToEnd/pages.test.ts:27:19
tests/endToEnd/pages.test.ts > Item page loads: tests/endToEnd/pages.test.ts#L32
TypeError: Cannot read properties of undefined (reading 'withId') ❯ tests/endToEnd/pages.test.ts:32:19
tests/endToEnd/pages.test.ts > Admin page loads: src/endpoints/fetch/fetch.ts#L80
Error: ApiError: [null] fetchFn is not a function ❯ Module.apiFetch src/endpoints/fetch/fetch.ts:80:13 ❯ Object.admin tests/endToEnd/endpoints.ts:22:15 ❯ tests/endToEnd/pages.test.ts:38:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { error: 'fetchFn is not a function', code: null }
tests/backend/admin/refresh.test.ts > Invalid token > Token has invalid structure: tests/backend/tokenCase.ts#L28
AssertionError: expected Error: ApiError: [null] fetchFn is not a … { …(2) } to match object { code: 401 } (1 matching property omitted from actual) - Expected + Received - Object { - "code": 401, + ApiError { + "code": null, } ❯ tests/backend/tokenCase.ts:28:7
tests/backend/admin/refresh.test.ts > Invalid token > Token has valid structure but incorrect signature: tests/backend/tokenCase.ts#L41
AssertionError: expected Error: ApiError: [null] fetchFn is not a … { …(2) } to match object { code: 401 } (1 matching property omitted from actual) - Expected + Received - Object { - "code": 401, + ApiError { + "code": null, } ❯ tests/backend/tokenCase.ts:41:7
tests/backend/config/put.test.ts > Invalid token > Token has invalid structure: tests/backend/tokenCase.ts#L28
AssertionError: expected Error: ApiError: [null] fetchFn is not a … { …(2) } to match object { code: 401 } (1 matching property omitted from actual) - Expected + Received - Object { - "code": 401, + ApiError { + "code": null, } ❯ tests/backend/tokenCase.ts:28:7
tests/backend/config/put.test.ts > Invalid token > Token has valid structure but incorrect signature: tests/backend/tokenCase.ts#L41
AssertionError: expected Error: ApiError: [null] fetchFn is not a … { …(2) } to match object { code: 401 } (1 matching property omitted from actual) - Expected + Received - Object { - "code": 401, + ApiError { + "code": null, } ❯ tests/backend/tokenCase.ts:41:7
check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636