mirror of
https://github.com/iptv-org/database.git
synced 2025-05-10 03:30:01 -04:00
Update validate.test.ts
This commit is contained in:
parent
ce17e9cc68
commit
4d06d5d63d
1 changed files with 5 additions and 1 deletions
|
@ -64,6 +64,10 @@ describe('db:validate', () => {
|
||||||
expect((error as ExecError).stdout).toContain(
|
expect((error as ExecError).stdout).toContain(
|
||||||
'"002RadioTV.do" has an invalid replaced_by "002RadioTV.do@4K"'
|
'"002RadioTV.do" has an invalid replaced_by "002RadioTV.do@4K"'
|
||||||
)
|
)
|
||||||
|
expect((error as ExecError).stdout).toContain(
|
||||||
|
'"10Channel.do" channel does not have a main feed'
|
||||||
|
)
|
||||||
|
expect((error as ExecError).stdout).toContain('"24B.do" channel does not have a main feed')
|
||||||
expect((error as ExecError).stdout).toContain(
|
expect((error as ExecError).stdout).toContain(
|
||||||
'002RadioTV.do: "website" must be a valid uri with a scheme matching the http|https pattern'
|
'002RadioTV.do: "website" must be a valid uri with a scheme matching the http|https pattern'
|
||||||
)
|
)
|
||||||
|
@ -78,7 +82,7 @@ describe('db:validate', () => {
|
||||||
expect((error as ExecError).stdout).toContain(
|
expect((error as ExecError).stdout).toContain(
|
||||||
'SD: "video_format" with value "576I" fails to match the required pattern'
|
'SD: "video_format" with value "576I" fails to match the required pattern'
|
||||||
)
|
)
|
||||||
expect((error as ExecError).stdout).toContain('8 error(s)')
|
expect((error as ExecError).stdout).toContain('10 error(s)')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue