From 12e66c3ce04034771572376c5082e7a5218d0f0d Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sun, 9 Mar 2025 04:23:44 +0300 Subject: [PATCH] Update store.test.js --- tests/store.test.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/store.test.js b/tests/store.test.js index 852daa4e8..a0510646f 100644 --- a/tests/store.test.js +++ b/tests/store.test.js @@ -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() {