Update cosmote.gr

This commit is contained in:
Aleksandr Statciuk
2022-02-01 04:48:55 +03:00
parent b87540fbdf
commit ce1804943c
2 changed files with 1 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
// npx epg-grabber --config=sites/cosmote.gr/cosmote.gr.config.js --channels=sites/cosmote.gr/cosmote.gr_gr.channels.xml --output=.gh-pages/guides/gr/cosmote.gr.epg.xml --days=2
const { parser, url, logo } = require('./cosmote.gr.config.js')
const { parser, url } = require('./cosmote.gr.config.js')
const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
const timezone = require('dayjs/plugin/timezone')
@@ -23,12 +23,6 @@ it('can generate valid url', () => {
)
})
it('can generate valid logo url', () => {
expect(logo({ content })).toBe(
'https://www.cosmote.gr/portal/image/journal/article?img_id=56014332&t=1544180299920'
)
})
it('can parse response', () => {
const result = parser({ content, channel, date }).map(p => {
p.start = p.start.toJSON()