From 4d06d5d63d06a015454b2a667e885bb53a19fb40 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Tue, 25 Mar 2025 07:18:40 +0300 Subject: [PATCH] Update validate.test.ts --- tests/db/validate.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/db/validate.test.ts b/tests/db/validate.test.ts index 7453fc50..0b20d4b3 100644 --- a/tests/db/validate.test.ts +++ b/tests/db/validate.test.ts @@ -64,6 +64,10 @@ describe('db:validate', () => { expect((error as ExecError).stdout).toContain( '"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( '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( '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)') } })