mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -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 date = dayjs.utc('2022-03-06', 'YYYY-MM-DD').startOf('d')
|
||||||
const channel = {
|
const channel = {
|
||||||
site_id: 'ar#',
|
site_id: 'ar',
|
||||||
xmltv_id: 'I24NewsArabic.il'
|
xmltv_id: 'I24NewsArabic.il'
|
||||||
}
|
}
|
||||||
|
|
||||||
it('can generate valid url', () => {
|
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', () => {
|
it('can parse response', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user