mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-10 17:10:06 -04:00
Update store.test.js
This commit is contained in:
parent
dc68ae865d
commit
12e66c3ce0
1 changed files with 10 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue