mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 09:30:06 -04:00
Update tvpassport.com.test.js
This commit is contained in:
parent
8082cf9544
commit
bbd20848b2
1 changed files with 18 additions and 2 deletions
|
@ -39,7 +39,7 @@ it('can parse response', () => {
|
||||||
start: '2022-10-04T10:00:00.000Z',
|
start: '2022-10-04T10:00:00.000Z',
|
||||||
stop: '2022-10-04T10:30:00.000Z',
|
stop: '2022-10-04T10:30:00.000Z',
|
||||||
title: 'Charlie Moore: No Offense',
|
title: 'Charlie Moore: No Offense',
|
||||||
sub_title: 'Under the Influencer',
|
subtitle: 'Under the Influencer',
|
||||||
category: ['Sports', 'Outdoors'],
|
category: ['Sports', 'Outdoors'],
|
||||||
image: 'https://cdn.tvpassport.com/image/show/960x540/69103.jpg',
|
image: 'https://cdn.tvpassport.com/image/show/960x540/69103.jpg',
|
||||||
rating: {
|
rating: {
|
||||||
|
@ -50,7 +50,23 @@ it('can parse response', () => {
|
||||||
director: ['Rob McElhenney'],
|
director: ['Rob McElhenney'],
|
||||||
guest: ['Sean Penn'],
|
guest: ['Sean Penn'],
|
||||||
description:
|
description:
|
||||||
'Celebrity interviews while fishing in various locations throughout the United States.'
|
'Celebrity interviews while fishing in various locations throughout the United States.',
|
||||||
|
year: null
|
||||||
|
})
|
||||||
|
|
||||||
|
expect(results[1]).toMatchObject({
|
||||||
|
start: '2022-10-04T10:30:00.000Z',
|
||||||
|
stop: '2022-10-04T11:00:00.000Z',
|
||||||
|
title: '1900',
|
||||||
|
year: null
|
||||||
|
})
|
||||||
|
|
||||||
|
expect(results[2]).toMatchObject({
|
||||||
|
start: '2022-10-04T11:00:00.000Z',
|
||||||
|
stop: '2022-10-04T12:00:00.000Z',
|
||||||
|
title: 'The Mark of Zorro',
|
||||||
|
subtitle: null,
|
||||||
|
year: '1940'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue