mirror of
https://github.com/iptv-org/epg
synced 2025-12-19 03:46:41 -05:00
wip
This commit is contained in:
@@ -19,9 +19,16 @@ it('can save results', () => {
|
|||||||
})
|
})
|
||||||
const lines = logs.split('\n')
|
const lines = logs.split('\n')
|
||||||
const parsed = JSON.parse(lines[0])
|
const parsed = JSON.parse(lines[0])
|
||||||
expect(parsed).toMatchObject({
|
expect(Object.keys(parsed).sort()).toEqual([
|
||||||
channel: 'AndorraTV.ad',
|
'_id',
|
||||||
lang: 'ca',
|
'category',
|
||||||
site: 'andorradifusio.ad'
|
'channel',
|
||||||
})
|
'description',
|
||||||
|
'icon',
|
||||||
|
'lang',
|
||||||
|
'site',
|
||||||
|
'start',
|
||||||
|
'stop',
|
||||||
|
'title'
|
||||||
|
])
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user