fix(B136): resolve listOmniboxB128 merge conflict markers for CI

This commit is contained in:
Cursor Agent 2026-08-02 23:53:33 +00:00
parent 764343da8e
commit a2e952b3a2
No known key found for this signature in database

View file

@ -269,7 +269,23 @@ describe('list omnibox adapters (B128)', () => {
expect(applied).toEqual({ kind: 'url', state: { page: 1, q: 'ana' } })
})
<<<<<<< HEAD
it('search-only omnibox clears and removes chips', () => {
expect(buildSearchOnlyOmniboxSuggestions('')).toEqual([])
const removed = removeSearchOnlyOmniboxChip({
state: { q: 'x', page: 2 },
chipId: 'q',
withPageReset: (next) => ({ ...next, page: 1 }),
})
expect(removed).toEqual({ kind: 'url', state: { page: 1, q: undefined } })
const cleared = clearSearchOnlyOmnibox({
state: { q: 'x' },
cleared: {},
})
expect(cleared).toEqual({ kind: 'clear', state: {} })
})
it('advisor toggles municipality portfolio filter and suggests by name', () => {
const base = parseAdvisorListParams({})
const applied = applyAdvisorOmniboxSuggestion({
@ -292,22 +308,5 @@ describe('list omnibox adapters (B128)', () => {
})
const suggestions = filterAdvisorOmniboxSuggestions(seeds, 'feira')
expect(suggestions.some((entry) => entry.group === 'Município (carteira)')).toBe(true)
=======
it('search-only omnibox clears and removes chips', () => {
expect(buildSearchOnlyOmniboxSuggestions('')).toEqual([])
const removed = removeSearchOnlyOmniboxChip({
state: { q: 'x', page: 2 },
chipId: 'q',
withPageReset: (next) => ({ ...next, page: 1 }),
})
expect(removed).toEqual({ kind: 'url', state: { page: 1, q: undefined } })
const cleared = clearSearchOnlyOmnibox({
state: { q: 'x' },
cleared: {},
})
expect(cleared).toEqual({ kind: 'clear', state: {} })
>>>>>>> c2a8e54b (test(B128): cover search-only omnibox exports for knip graph)
})
})