mirror of
https://github.com/iptv-org/epg
synced 2026-09-14 13:06:24 -04:00
fix tests
This commit is contained in:
@@ -38,6 +38,6 @@ it('can parse response', () => {
|
||||
})
|
||||
|
||||
it('can handle empty guide', () => {
|
||||
const result = parser({content: ''}, channel)
|
||||
const result = parser({content: fs.readFileSync(path.resolve(__dirname, '__data__/no_content.json'))}, channel)
|
||||
expect(result).toMatchObject([])
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user