Remove expected/database/streams.db

This commit is contained in:
Aleksandr Statciuk 2022-02-15 02:59:19 +03:00
parent 72cbe4741b
commit 4355fdb28c
5 changed files with 6 additions and 5 deletions

View File

@ -1,3 +0,0 @@
{"channel":null,"title":"1A Network","filepath":"tests/__data__/input/streams/unsorted.m3u","url":"https://simultv.s.llnwi.net/n4s4/2ANetwork/interlink.m3u8","http_referrer":null,"user_agent":null,"cluster_id":1,"_id":"0ASgwU4iEPNhQfEj"}
{"channel":"FoxSports2AsiaThai.us","title":"Fox Sports 2 Asia (Thai)","filepath":"tests/__data__/input/streams/us_blocked.m3u","url":"https://example.com/playlist.m3u8","http_referrer":null,"user_agent":null,"cluster_id":1,"_id":"Qo3RROg3sEOJoBfv"}
{"channel":"ATV.ad","title":"ATV","filepath":"tests/__data__/input/streams/ad.m3u","url":"https://iptv-all.lanesh4d0w.repl.co/andorra/atv","http_referrer":null,"user_agent":null,"cluster_id":1,"_id":"hPpP2KnQOeFMRnX0"}

View File

@ -0,0 +1,4 @@
{"title":"ЛДПР ТВ","channel":"LDPRTV.ru","filepath":"tests/__data__/output/streams/ru.m3u","url":"http://46.46.143.222:1935/live/mp4:ldpr.stream/playlist.m3u8","http_referrer":null,"user_agent":null,"cluster_id":1,"_id":"2ST8btby3mmsgPF0"}
{"title":"BBC News HD","channel":"BBCNews.uk","filepath":"tests/__data__/output/streams/uk.m3u","url":"https://query-streamlink.herokuapp.com/iptv-query?streaming-ip=https://www.twitch.tv/absliveantigua3/","http_referrer":null,"user_agent":null,"cluster_id":3,"_id":"3TbieV1ptnZVCIdn"}
{"title":"ATV","channel":"AndorraTV.ad","filepath":"tests/__data__/output/streams/ad.m3u","url":"https://iptv-all.lanesh4d0w.repl.co/andorra/atv","http_referrer":null,"user_agent":null,"cluster_id":1,"_id":"I6cjG2xCBRFFP4sz"}
{"title":"Andorra TV","channel":"AndorraTV.ad","filepath":"tests/__data__/output/streams/uk.m3u","url":"http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/index.m3u8","http_referrer":null,"user_agent":null,"cluster_id":3,"_id":"WTbieV1ptnZVCIdn"}

View File

@ -5,7 +5,7 @@ const path = require('path')
beforeEach(() => { beforeEach(() => {
fs.emptyDirSync('tests/__data__/output') fs.emptyDirSync('tests/__data__/output')
fs.copyFileSync( fs.copyFileSync(
'tests/__data__/input/database/base_streams.db', 'tests/__data__/input/database/cluster_load.streams.db',
'tests/__data__/output/streams.db' 'tests/__data__/output/streams.db'
) )

View File

@ -6,7 +6,7 @@ beforeEach(() => {
fs.emptyDirSync('tests/__data__/output') fs.emptyDirSync('tests/__data__/output')
fs.copyFileSync( fs.copyFileSync(
'tests/__data__/input/database/base_streams.db', 'tests/__data__/input/database/db_matrix.streams.db',
'tests/__data__/output/streams.db' 'tests/__data__/output/streams.db'
) )
}) })