mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
wip
This commit is contained in:
parent
957ccff392
commit
cea7fc2cbb
1 changed files with 12 additions and 5 deletions
|
@ -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'
|
||||||
|
])
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue