Skip to content

feat: search

feat: search #27330

Triggered via pull request November 27, 2024 16:31
Status Failure
Total duration 2m 56s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors
src/core/studio/components/navbar/search/contexts/search/reducer.test.ts > searchReducer > should merge results after fetching an additional page: packages/sanity/src/core/studio/components/navbar/search/contexts/search/reducer.test.ts#L220
Error: Snapshot `searchReducer > should merge results after fetching an additional page 1` mismatched - Expected + Received @@ -11,10 +11,16 @@ "_type": "person", }, }, { "hit": { + "_id": "personB", + "_type": "person", + }, + }, + { + "hit": { "_id": "personC", "_type": "person", }, }, ] ❯ src/core/studio/components/navbar/search/contexts/search/reducer.test.ts:220:31
Test (ubuntu-latest / node 20)
Process completed with exit code 1.
src/core/studio/components/navbar/search/contexts/search/reducer.test.ts > searchReducer > should merge results after fetching an additional page: packages/sanity/src/core/studio/components/navbar/search/contexts/search/reducer.test.ts#L220
Error: Snapshot `searchReducer > should merge results after fetching an additional page 1` mismatched - Expected + Received @@ -11,10 +11,16 @@ "_type": "person", }, }, { "hit": { + "_id": "personB", + "_type": "person", + }, + }, + { + "hit": { "_id": "personC", "_type": "person", }, }, ] ❯ src/core/studio/components/navbar/search/contexts/search/reducer.test.ts:220:31
Test (ubuntu-latest / node 18)
Process completed with exit code 1.