Skip to content

v0.1.100

v0.1.100 #394

Triggered via push January 8, 2025 08:56
Status Failure
Total duration 48s
Artifacts

publish.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
src/data-fetching/useCall/useCall.test.ts > useCall > supports submit with no params: src/data-fetching/useCall/useCall.test.ts#L155
AssertionError: expected null to deeply equal { success: true, received: {} } - Expected: Object { "received": Object {}, "success": true, } + Received: null ❯ src/data-fetching/useCall/useCall.test.ts:155:23
src/data-fetching/useList/useList.test.ts > useList > it returns expected object: src/data-fetching/useList/useList.test.ts#L30
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ src/data-fetching/useList/useList.test.ts:30:31
src/data-fetching/useList/useList.test.ts > useList > handles pagination correctly: src/data-fetching/useList/useList.test.ts#L66
AssertionError: expected { Object (result, has_next_page) } to strictly equal [ { name: 'User1', …(1) }, …(3) ] - Expected: Array [ Object { "email": "[email protected]", "name": "User1", }, Object { "email": "[email protected]", "name": "User2", }, Object { "email": "[email protected]", "name": "User3", }, Object { "email": "[email protected]", "name": "User4", }, ] + Received: Object { "has_next_page": true, "result": Array [ Object { "email": "[email protected]", "name": "User1", }, Object { "email": "[email protected]", "name": "User2", }, ], } ❯ src/data-fetching/useList/useList.test.ts:66:24
src/data-fetching/useList/useList.test.ts > useList > dynamic filters should refetch the list: src/data-fetching/useList/useList.test.ts#L91
AssertionError: expected { result: [ { …(2) } ], …(1) } to strictly equal [ { name: 'User1', …(1) } ] - Expected: Array [ Object { "email": "[email protected]", "name": "User1", }, ] + Received: Object { "has_next_page": true, "result": Array [ Object { "email": "[email protected]", "name": "User1", }, ], } ❯ src/data-fetching/useList/useList.test.ts:91:24
src/data-fetching/useList/useList.test.ts > useList > transforms data using transform function: src/data-fetching/useList/useList.test.ts#L157
TypeError: Cannot read properties of null (reading '0') ❯ src/data-fetching/useList/useList.test.ts:157:18
src/data-fetching/useList/useList.test.ts > useList > it caches response if cacheKey is provided: src/data-fetching/useList/useList.test.ts#L193
AssertionError: expected { Object (result, has_next_page) } to strictly equal [ { name: 'User1', …(1) }, …(1) ] - Expected: Array [ Object { "email": "[email protected]", "name": "User1", }, Object { "email": "[email protected]", "name": "User2", }, ] + Received: Object { "has_next_page": true, "result": Array [ Object { "email": "[email protected]", "name": "User1", }, Object { "email": "[email protected]", "name": "User2", }, ], } ❯ src/data-fetching/useList/useList.test.ts:193:24
publish
Process completed with exit code 1.
publish
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636