Unify item and group data structures #438
Annotations
10 errors and 1 warning
Run test suite:
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
|
Run test suite:
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
|
Run test suite:
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
|
Run test suite:
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
|
Run test suite:
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
|
Run test suite:
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
|
Run test suite:
tests/backend/item/info.put.test.ts#L103
AssertionError: promise rejected "Error: ApiError: [400] StructError: At pa… { …(2) }" instead of resolving
❯ tests/backend/item/info.put.test.ts:103:51
Caused by: Caused by: Error: ApiError: [400] StructError: At path: sections.0 -- Expected the value to satisfy a union of `type | type | type | type | type | type`, but received: [object Object]
❯ json src/endpoints/fetch/response.ts:49:11
❯ tests/backend/item/info.put.test.ts:103:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { error: 'StructError: At path: sections.0 -- Expected the value to satisfy a union of `type | type | type | type | type | type`, but received: [object Object]', code: 400 }
|
Run test suite:
tests/backend/item/info.put.test.ts#L191
AssertionError: promise resolved "{}" instead of rejecting
- Expected
+ Received
- [Error: rejected promise]
+ Object {}
❯ tests/backend/item/info.put.test.ts:191:51
|
Run test suite:
src/endpoints/fetch/fetch.ts#L80
Error: ApiError: [null] fetchFn is not a function
❯ Module.apiFetch src/endpoints/fetch/fetch.ts:80:13
❯ Object.data src/endpoints/admin/firstrun.ts:16:12
❯ firstrunData tests/backend/admin/firstrun/data.test.ts:35:36
❯ tests/backend/admin/firstrun/data.test.ts:43:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { error: 'fetchFn is not a function', code: null }
|
Run test suite:
src/endpoints/fetch/fetch.ts#L80
Error: ApiError: [null] fetchFn is not a function
❯ Module.apiFetch src/endpoints/fetch/fetch.ts:80:13
❯ Object.data src/endpoints/admin/firstrun.ts:16:12
❯ firstrunData tests/backend/admin/firstrun/data.test.ts:35:36
❯ tests/backend/admin/firstrun/data.test.ts:49:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { error: 'fetchFn is not a function', code: null }
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading