From 8b7edda3ef298863a1f9cdc00cc9c1bb4c95cc41 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Tue, 31 Dec 2024 06:08:18 +0300 Subject: [PATCH] Update validate.test.ts --- tests/db/validate.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/db/validate.test.ts b/tests/db/validate.test.ts index 495a9b70..f60d3eda 100644 --- a/tests/db/validate.test.ts +++ b/tests/db/validate.test.ts @@ -43,6 +43,9 @@ describe('db:validate', () => { } catch (error) { expect((error as ExecError).status).toBe(1) expect((error as ExecError).stdout).toContain('entry with the id "aaa" already exists') + expect((error as ExecError).stdout).toContain( + 'entry with the channel "002RadioTV.do" and ref "eee" already exists' + ) } })