mirror of
https://github.com/iptv-org/epg
synced 2026-09-08 21:06:57 -04:00
@@ -100,11 +100,11 @@ describe('epg:grab', () => {
|
||||
)
|
||||
|
||||
const outputString = pako.ungzip(fs.readFileSync('tests/__data__/output/guides/guide.xml.gz'), {
|
||||
to: 'string'
|
||||
toText: true
|
||||
})
|
||||
const expectedString = pako.ungzip(
|
||||
fs.readFileSync('tests/__data__/expected/epg_grab/gzip/guide.xml.gz'),
|
||||
{ to: 'string' }
|
||||
{ toText: true }
|
||||
)
|
||||
|
||||
const output = new Set(outputString.split('\r\n'))
|
||||
@@ -125,11 +125,11 @@ describe('epg:grab', () => {
|
||||
)
|
||||
|
||||
const outputString = pako.ungzip(fs.readFileSync('tests/__data__/output/guides/guide.xml.gz'), {
|
||||
to: 'string'
|
||||
toText: true
|
||||
})
|
||||
const expectedString = pako.ungzip(
|
||||
fs.readFileSync('tests/__data__/expected/epg_grab/gzip/guide.xml.gz'),
|
||||
{ to: 'string' }
|
||||
{ toText: true }
|
||||
)
|
||||
|
||||
const output = new Set(outputString.split('\r\n'))
|
||||
@@ -152,12 +152,12 @@ describe('epg:grab', () => {
|
||||
const outputString = pako.ungzip(
|
||||
fs.readFileSync('tests/__data__/output/guides/custom.xml.gz'),
|
||||
{
|
||||
to: 'string'
|
||||
toText: true
|
||||
}
|
||||
)
|
||||
const expectedString = pako.ungzip(
|
||||
fs.readFileSync('tests/__data__/expected/epg_grab/gzip/guide.xml.gz'),
|
||||
{ to: 'string' }
|
||||
{ toText: true }
|
||||
)
|
||||
|
||||
const output = new Set(outputString.split('\r\n'))
|
||||
|
||||
Reference in New Issue
Block a user