mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update raiplay.it.test.js
This commit is contained in:
parent
b269b893df
commit
6037099d31
1 changed files with 7 additions and 9 deletions
|
@ -14,9 +14,7 @@ const channel = {
|
|||
}
|
||||
|
||||
it('can generate valid url', () => {
|
||||
expect(url({ channel, date })).toBe(
|
||||
'https://www.raiplay.it/palinsesto/app/rai-2/03-05-2022.json'
|
||||
)
|
||||
expect(url({ channel, date })).toBe('https://www.raiplay.it/palinsesto/app/rai-2/03-05-2022.json')
|
||||
})
|
||||
|
||||
it('can parse response', () => {
|
||||
|
@ -27,14 +25,14 @@ it('can parse response', () => {
|
|||
|
||||
expect(result).toMatchObject([
|
||||
{
|
||||
start: '2022-05-03T17:40:00.000Z',
|
||||
stop: '2022-05-03T18:30:00.000Z',
|
||||
start: '2022-05-03T18:40:00.000Z',
|
||||
stop: '2022-05-03T19:30:00.000Z',
|
||||
title: 'The Good Doctor S3E5 - La prima volta',
|
||||
description:
|
||||
"Shaun affronta il suo primo intervento. Il caso si rivela complicato e, nonostante Shaun abbia un'idea geniale, sarà Andrews a portare a termine l'operazione.",
|
||||
season: "3",
|
||||
episode: "5",
|
||||
sub_title: "La prima volta",
|
||||
season: '3',
|
||||
episode: '5',
|
||||
sub_title: 'La prima volta',
|
||||
icon: 'https://www.raiplay.it/dl/img/2020/03/09/1583748471860_dddddd.jpg',
|
||||
url: 'https://www.raiplay.it/dirette/rai2/The-Good-Doctor-S3E5---La-prima-volta-2f81030d-803b-456a-9ea5-40233234fd9d.html'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue