diff --git a/tests/db/validate.test.ts b/tests/db/validate.test.ts index 820fc3f5..1f9897f6 100644 --- a/tests/db/validate.test.ts +++ b/tests/db/validate.test.ts @@ -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' + }) + }) })