Skip to content

fix: filtering error on first render for create display #3995

fix: filtering error on first render for create display

fix: filtering error on first render for create display #3995

Triggered via pull request November 8, 2024 08:48
Status Failure
Total duration 8m 11s
Artifacts 2

ci-js.yml

on: pull_request
Matrix: Upload coverage
Matrix: Linting
Matrix: Run tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors
src/web/hooks/__tests__/usePageFilter.jsx > usePageFilter tests > should prefer locationQuery filter over defaultSettingFilter: src/web/hooks/__tests__/usePageFilter.jsx#L62
AssertionError: expected Filter{ entityType: 'filter', …(1) } to deeply equal Filter{ entityType: 'filter', …(1) } - Expected + Received Filter { "entityType": "filter", "terms": Array [ FilterTerm { "keyword": "location", "relation": "=", "value": "query", }, - FilterTerm { - "keyword": "rows", - "relation": "=", - "value": 42, - }, ], } ❯ src/web/hooks/__tests__/usePageFilter.jsx:62:31
Run tests (20)
Process completed with exit code 1.
Run tests (18)
The job was canceled because "_20" failed.
Run tests (18)
The operation was canceled.
Upload coverage (18)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
linting-report-18
20.6 KB
linting-report-20
20.6 KB