Update store.test.js

This commit is contained in:
freearhey 2025-03-09 04:23:44 +03:00
parent dc68ae865d
commit 12e66c3ce0

View file

@ -313,6 +313,16 @@ describe('search', () => {
id: 'LaLiganaZap.ao'
})
})
it('can find channel by stream url', () => {
search('https://stmv6.voxtvhd.com.br/xtremacartoons/xtremacartoons/playlist.m3u8')
const results = get(filteredChannels)
expect(results.length).toBe(1)
expect(results[0]).toMatchObject({
id: 'XtremaCartoons.ar'
})
})
})
function mockFetch() {