Update validate.test.ts

This commit is contained in:
freearhey 2024-12-31 06:08:18 +03:00
parent 59062ed9be
commit 8b7edda3ef

View file

@ -43,6 +43,9 @@ describe('db:validate', () => {
} catch (error) { } catch (error) {
expect((error as ExecError).status).toBe(1) 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 id "aaa" already exists')
expect((error as ExecError).stdout).toContain(
'entry with the channel "002RadioTV.do" and ref "eee" already exists'
)
} }
}) })