mirror of https://github.com/iptv-org/iptv
Update update-database.test.js
This commit is contained in:
parent
29471cf31f
commit
b120de9e02
|
@ -96,9 +96,9 @@ it('can update database', () => {
|
||||||
})
|
})
|
||||||
expect(JSON.parse(lines[4])).toMatchObject({
|
expect(JSON.parse(lines[4])).toMatchObject({
|
||||||
id: 'KayhanTV.af',
|
id: 'KayhanTV.af',
|
||||||
status: { label: 'Timeout', code: 'timeout', level: 4 },
|
status: { label: 'Geo-blocked', code: 'geo_blocked', level: 2 },
|
||||||
is_broken: true,
|
is_broken: false,
|
||||||
updated: true
|
updated: false
|
||||||
})
|
})
|
||||||
expect(JSON.parse(lines[5])).toMatchObject({
|
expect(JSON.parse(lines[5])).toMatchObject({
|
||||||
id: 'Sharq.af',
|
id: 'Sharq.af',
|
||||||
|
|
Loading…
Reference in New Issue