mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
Update i24news.tv.test.js
This commit is contained in:
@@ -7,12 +7,12 @@ dayjs.extend(utc)
|
||||
|
||||
const date = dayjs.utc('2022-03-06', 'YYYY-MM-DD').startOf('d')
|
||||
const channel = {
|
||||
site_id: 'ar#',
|
||||
site_id: 'ar',
|
||||
xmltv_id: 'I24NewsArabic.il'
|
||||
}
|
||||
|
||||
it('can generate valid url', () => {
|
||||
expect(url({ channel })).toBe('https://api.i24news.tv/v2/ar/schedules/world')
|
||||
expect(url({ channel })).toBe('https://api.i24news.tv/v2/ar/schedules')
|
||||
})
|
||||
|
||||
it('can parse response', () => {
|
||||
|
||||
Reference in New Issue
Block a user