Unify item and group data structures #401
node.js.yml
on: pull_request
Annotations
21 errors and 3 warnings
check
Process completed with exit code 1.
|
lint:
src/components/card/ItemCard.svelte#L22
Unsafe call of a(n) `error` type typed value
|
lint:
src/components/card/ItemCard.svelte#L22
Unsafe call of a(n) `error` type typed value
|
lint:
src/components/card/ItemCard.svelte#L25
Unsafe return of a value of type `any`
|
lint:
src/components/card/ItemCard.svelte#L25
Unsafe call of a(n) `any` typed value
|
lint:
src/components/modals/NewGroupModal.svelte#L32
Unsafe call of a(n) `error` type typed value
|
lint:
src/components/modals/NewGroupModal.svelte#L32
Unsafe call of a(n) `error` type typed value
|
lint:
src/components/modals/NewItemModal.svelte#L33
Unsafe call of a(n) `error` type typed value
|
lint:
src/components/modals/NewItemModal.svelte#L33
Unsafe call of a(n) `error` type typed value
|
lint:
src/components/modals/NewItemModal.svelte#L33
Unsafe call of a(n) `error` type typed value
|
lint:
src/lib/itemFilter.ts#L20
Unsafe return of a value of type error
|
tests/backend/readme.test.ts > Generated test cases > Errors if the server is not set up ('Get readme'):
tests/backend/readme.test.ts#L17
TypeError: Cannot read properties of undefined (reading 'get')
❯ tests/backend/readme.test.ts:17:22
❯ fn tests/backend/readmeCases.ts:22:37
❯ tests/backend/readmeCases.ts:26:18
|
tests/backend/readme.test.ts > Generated test cases > Errors if the server is not set up ('Set readme'):
tests/backend/readmeCases.ts#L26
AssertionError: expected TypeError: Cannot read properties of unde… to match object { code: 400 }
- Expected
+ Received
- Object {
- "code": 400,
- }
+ [TypeError: Cannot read properties of undefined (reading 'set')]
❯ tests/backend/readmeCases.ts:26:5
|
tests/backend/readme.test.ts > Generated test cases > Correctly updates the readme contents:
tests/backend/readmeCases.ts#L31
Error: expect(received).toResolve()
Expected promise to resolve, however it rejected.
❯ tests/backend/readmeCases.ts:31:5
|
tests/backend/readme.test.ts > Generated test cases > Sets up a default readme:
tests/backend/readme.test.ts#L17
TypeError: Cannot read properties of undefined (reading 'get')
❯ tests/backend/readme.test.ts:17:22
❯ tests/backend/readmeCases.ts:41:18
|
tests/backend/readme.test.ts > Other test cases > The readme is set up by default:
tests/backend/readme.test.ts#L36
TypeError: Cannot read properties of undefined (reading 'get')
❯ tests/backend/readme.test.ts:36:29
|
tests/backend/readme.test.ts > Other test cases > Invalid token > Token not provided:
tests/backend/readme.test.ts#L41
TypeError: Cannot read properties of undefined (reading 'set')
❯ tests/backend/readme.test.ts:41:23
❯ tests/backend/tokenCase.ts:24:20
|
tests/backend/readme.test.ts > Other test cases > Invalid token > Token has invalid structure:
tests/backend/readme.test.ts#L41
TypeError: Cannot read properties of undefined (reading 'set')
❯ tests/backend/readme.test.ts:41:23
❯ tests/backend/tokenCase.ts:28:20
|
tests/backend/readme.test.ts > Other test cases > Invalid token > Token has been invalidated:
tests/backend/readme.test.ts#L41
TypeError: Cannot read properties of undefined (reading 'set')
❯ tests/backend/readme.test.ts:41:23
❯ tests/backend/tokenCase.ts:36:20
|
tests/backend/readme.test.ts > Other test cases > Invalid token > Token has valid structure but incorrect signature:
tests/backend/readme.test.ts#L41
TypeError: Cannot read properties of undefined (reading 'set')
❯ tests/backend/readme.test.ts:41:23
❯ tests/backend/tokenCase.ts:41:20
|
tests/endToEnd/pages.test.ts > Homepage loads:
tests/endToEnd/endpoints.ts#L6
TypeError: text is not a function
❯ Object.root tests/endToEnd/endpoints.ts:6:10
❯ tests/endToEnd/pages.test.ts:15:26
|
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
|