mirror of
https://github.com/iptv-org/database.git
synced 2024-11-21 18:42:31 -05:00
Update validate.test.ts
This commit is contained in:
parent
815e156a74
commit
0feb6b1e89
1 changed files with 6 additions and 0 deletions
|
@ -72,4 +72,10 @@ describe('db:validate', () => {
|
|||
expect((error as ExecError).stdout).toContain('1 error(s)')
|
||||
}
|
||||
})
|
||||
|
||||
it('does not show an error if all data are correct', () => {
|
||||
execSync('DATA_DIR=tests/__data__/input/validate/valid_data npm run db:validate', {
|
||||
encoding: 'utf8'
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue