mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 08:30:06 -04:00
Update i24news.tv.test.js
This commit is contained in:
parent
ed3ede914c
commit
38ab58d03a
1 changed files with 2 additions and 2 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue