Add names from the guides to the search index

This commit is contained in:
freearhey 2025-03-08 18:57:34 +03:00
parent 7f861663d8
commit ef3b16d019
3 changed files with 23 additions and 7 deletions

View file

@ -303,6 +303,16 @@ describe('search', () => {
id: 'ORF2Europe.at'
})
})
it('can find channel by display name from the guides', () => {
search('La Liga HD')
const results = get(filteredChannels)
expect(results.length).toBe(1)
expect(results[0]).toMatchObject({
id: 'LaLiganaZap.ao'
})
})
})
function mockFetch() {