mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
uniformise tests part 1
This commit is contained in:
1
sites/tvcesoir.fr/__data__/no_content.html
Normal file
1
sites/tvcesoir.fr/__data__/no_content.html
Normal file
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html><head></head><body></body></html>
|
||||
@@ -44,7 +44,7 @@ it('can handle empty guide', () => {
|
||||
const result = parser({
|
||||
date,
|
||||
channel,
|
||||
content: '<!DOCTYPE html><html><head></head><body></body></html>'
|
||||
content: fs.readFileSync(path.resolve(__dirname, './__data__/no_content.html'), 'utf8')
|
||||
})
|
||||
expect(result).toMatchObject([])
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user