mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -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 parsed = JSON.parse(lines[0])
|
||||
expect(parsed).toMatchObject({
|
||||
channel: 'AndorraTV.ad',
|
||||
lang: 'ca',
|
||||
site: 'andorradifusio.ad'
|
||||
})
|
||||
expect(Object.keys(parsed).sort()).toEqual([
|
||||
'_id',
|
||||
'category',
|
||||
'channel',
|
||||
'description',
|
||||
'icon',
|
||||
'lang',
|
||||
'site',
|
||||
'start',
|
||||
'stop',
|
||||
'title'
|
||||
])
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue