mirror of
https://github.com/iptv-org/database.git
synced 2025-01-08 22:06:30 -05:00
Update validate.test.ts
This commit is contained in:
parent
59062ed9be
commit
8b7edda3ef
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue