Update validate.test.ts

This commit is contained in:
freearhey 2023-10-08 02:13:35 +03:00
parent 815e156a74
commit 0feb6b1e89

View file

@ -72,4 +72,10 @@ describe('db:validate', () => {
expect((error as ExecError).stdout).toContain('1 error(s)') 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'
})
})
}) })