mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 17:10:07 -04:00
Update movistarplus.es.test.js
This commit is contained in:
parent
d2e05a6685
commit
6b1203a6f9
1 changed files with 36 additions and 36 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
// npx epg-grabber --config=sites/movistarplus.es/movistarplus.es.config.js --channels=sites/movistarplus.es/movistarplus.es_es.channels.xml --output=guide.xml --days=2
|
||||||
|
|
||||||
const { parser, url, request } = require('./movistarplus.es.config.js')
|
const { parser, url, request } = require('./movistarplus.es.config.js')
|
||||||
const dayjs = require('dayjs')
|
const dayjs = require('dayjs')
|
||||||
const utc = require('dayjs/plugin/utc')
|
const utc = require('dayjs/plugin/utc')
|
||||||
|
@ -12,9 +14,7 @@ const channel = {
|
||||||
}
|
}
|
||||||
|
|
||||||
it('can generate valid url', () => {
|
it('can generate valid url', () => {
|
||||||
expect(url({ date })).toBe(
|
expect(url({ date })).toBe('https://www.movistarplus.es/programacion-tv/2022-03-11?v=json')
|
||||||
'https://www.movistarplus.es/programacion-tv/2022-03-11?v=json'
|
|
||||||
)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
it('can parse response', () => {
|
it('can parse response', () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue