mirror of
https://github.com/iptv-org/epg
synced 2026-09-10 05:46:54 -04:00
Fix mi.tv time parsing and cheerio stuff
This commit is contained in:
@@ -21,7 +21,7 @@ it('can generate valid url', () => {
|
||||
|
||||
it('can parse response', () => {
|
||||
const content = fs.readFileSync(path.resolve(__dirname, '__data__/content.html'), 'utf8')
|
||||
const result = parser({ content, date }).map(p => {
|
||||
const result = parser({ content, date, channel }).map(p => {
|
||||
p.start = p.start.toJSON()
|
||||
p.stop = p.stop.toJSON()
|
||||
return p
|
||||
|
||||
Reference in New Issue
Block a user