fix: filtering error on first render for create display #3995
ci-js.yml
on: pull_request
Matrix: Upload coverage
Matrix: Linting
Matrix: Run tests
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 |
|