Update validate.test.ts

This commit is contained in:
freearhey 2023-10-16 22:17:34 +03:00
parent 7d7bba55ec
commit 7d796a3efd

View file

@ -79,8 +79,12 @@ describe('db:validate', () => {
}) })
it('does not show an error if all data are correct', () => { it('does not show an error if all data are correct', () => {
try {
execSync('DATA_DIR=tests/__data__/input/validate/valid_data npm run db:validate', { execSync('DATA_DIR=tests/__data__/input/validate/valid_data npm run db:validate', {
encoding: 'utf8' encoding: 'utf8'
}) })
} catch (error) {
console.log((error as ExecError).stdout)
}
}) })
}) })