Skip to content

fix: optimize useObserve #184

fix: optimize useObserve

fix: optimize useObserve #184

Triggered via push April 27, 2024 14:48
Status Failure
Total duration 50s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
src/lib/binding/useObserve.test.tsx > useObserve > should return new value after a stream change: src/lib/binding/useObserve.test.tsx#L70
TypeError: act is not a function ❯ src/lib/binding/useObserve.test.tsx:70:5
src/lib/binding/useObserve.test.tsx > useObserve > does not re-render when observer complete: src/lib/binding/useObserve.test.tsx#L203
TypeError: act is not a function ❯ src/lib/binding/useObserve.test.tsx:203:5
src/lib/queries/client/queries/query/query.test.ts > query > should complete forever query as soon as there is no more observers: src/lib/queries/client/queries/query/query.test.ts#L40
AssertionError: expected { status: 'success', …(23) } to match object { data: 1, fetchStatus: 'fetching' } - Expected + Received Object { - "data": 1, + "data": 2, + "dataUpdatedAt": 1714229360831, + "error": null, + "errorUpdateCount": 0, + "errorUpdatedAt": 0, + "failureCount": 0, + "failureReason": null, "fetchStatus": "fetching", + "isError": false, + "isFetched": true, + "isFetchedAfterMount": true, + "isFetching": true, + "isInitialLoading": false, + "isLoading": false, + "isLoadingError": false, + "isPaused": false, + "isPending": false, + "isPlaceholderData": false, + "isRefetchError": false, + "isRefetching": true, + "isStale": true, + "isSuccess": true, + "refetch": [Function bound refetch], + "status": "success", } ❯ src/lib/queries/client/queries/query/query.test.ts:40:41
Release
Process completed with exit code 1.
Release
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.