mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update update.test.js
This commit is contained in:
parent
f97f1b55c9
commit
c8dafe2024
1 changed files with 15 additions and 12 deletions
|
@ -26,22 +26,25 @@ starting...
|
|||
loading data/channels.json...
|
||||
loading database/programs.db...
|
||||
found 6 programs
|
||||
creating tests/__data__/output/guides/allente.se.xml...
|
||||
creating tests/__data__/output/guides/allente.se.xml.gz...
|
||||
creating tests/__data__/output/guides/allente.se.json...
|
||||
creating tests/__data__/output/guides/virginmedia.com.xml...
|
||||
creating tests/__data__/output/guides/virginmedia.com.xml.gz...
|
||||
creating tests/__data__/output/guides/virginmedia.com.json...
|
||||
creating tests/__data__/output/guides/sky.com.xml...
|
||||
creating tests/__data__/output/guides/sky.com.xml.gz...
|
||||
creating tests/__data__/output/guides/sky.com.json...
|
||||
creating tests/__data__/output/guides/da/allente.se.xml...
|
||||
creating tests/__data__/output/guides/da/allente.se.xml.gz...
|
||||
creating tests/__data__/output/guides/da/allente.se.json...
|
||||
creating tests/__data__/output/guides/en/virginmedia.com.xml...
|
||||
creating tests/__data__/output/guides/en/virginmedia.com.xml.gz...
|
||||
creating tests/__data__/output/guides/en/virginmedia.com.json...
|
||||
creating tests/__data__/output/guides/fr/sky.com.xml...
|
||||
creating tests/__data__/output/guides/fr/sky.com.xml.gz...
|
||||
creating tests/__data__/output/guides/fr/sky.com.json...
|
||||
creating tests/__data__/output/guides/en/sky.com.xml...
|
||||
creating tests/__data__/output/guides/en/sky.com.xml.gz...
|
||||
creating tests/__data__/output/guides/en/sky.com.json...
|
||||
creating tests/__data__/output/logs/guides/update.log...
|
||||
finished
|
||||
`
|
||||
)
|
||||
|
||||
const uncompressed = glob
|
||||
.sync('tests/__data__/expected/guides/*.xml')
|
||||
.sync('tests/__data__/expected/guides/**/*.xml')
|
||||
.map(f => f.replace('tests/__data__/expected/', ''))
|
||||
|
||||
uncompressed.forEach(filepath => {
|
||||
|
@ -49,7 +52,7 @@ finished
|
|||
})
|
||||
|
||||
const compressed = glob
|
||||
.sync('tests/__data__/expected/guides/*.xml.gz')
|
||||
.sync('tests/__data__/expected/guides/**/*.xml.gz')
|
||||
.map(f => f.replace('tests/__data__/expected/', ''))
|
||||
|
||||
compressed.forEach(filepath => {
|
||||
|
@ -57,7 +60,7 @@ finished
|
|||
})
|
||||
|
||||
const json = glob
|
||||
.sync('tests/__data__/expected/guides/*.json')
|
||||
.sync('tests/__data__/expected/guides/**/*.json')
|
||||
.map(f => f.replace('tests/__data__/expected/', ''))
|
||||
|
||||
json.forEach(filepath => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue