From 0feb6b1e89dc3c2680d9afc81eec0d2a6177bc4a Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sun, 8 Oct 2023 02:13:35 +0300 Subject: [PATCH] Update validate.test.ts --- tests/db/validate.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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' + }) + }) })