Update update.test.js

This commit is contained in:
Aleksandr Statciuk 2022-08-25 00:08:53 +03:00
parent 48f60b4775
commit 960ec952aa

View file

@ -22,7 +22,7 @@ it('can generate /guides', () => {
)
const compressed = glob
.sync('tests/__data__/expected/guides/**/*.xml.gz')
.sync('tests/__data__/expected/guides/**/*.epg.xml.gz')
.map(f => f.replace('tests/__data__/expected/', ''))
compressed.forEach(filepath => {
@ -50,12 +50,12 @@ it('will terminate process if programs not found', () => {
Generating guides/...
Loading \"database/programs.db\"...
Loading queue...
Creating \"tests/__data__/output/guides/us/directv.com.xml.gz\"...
Creating \"tests/__data__/output/guides/fr/chaines-tv.orange.fr.xml.gz\"...
Creating \"tests/__data__/output/guides/bh/chaines-tv.orange.fr.xml.gz\"...
Creating \"tests/__data__/output/guides/ge/magticom.ge.xml.gz\"...
Creating \"tests/__data__/output/guides/ru/yandex.ru.xml.gz\"...
Creating \"tests/__data__/output/guides/zw/dstv.com.xml.gz\"...
Creating \"tests/__data__/output/guides/us/directv.com.epg.xml.gz\"...
Creating \"tests/__data__/output/guides/fr/chaines-tv.orange.fr.epg.xml.gz\"...
Creating \"tests/__data__/output/guides/bh/chaines-tv.orange.fr.epg.xml.gz\"...
Creating \"tests/__data__/output/guides/ge/magticom.ge.epg.xml.gz\"...
Creating \"tests/__data__/output/guides/ru/yandex.ru.epg.xml.gz\"...
Creating \"tests/__data__/output/guides/zw/dstv.com.epg.xml.gz\"...
Error: No programs found
`)