From 92bcf50d70a23df7bef9d09572b8ed90628be296 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Mon, 23 Oct 2023 22:24:11 +0300 Subject: [PATCH] Update validate.test.ts --- tests/db/validate.test.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/db/validate.test.ts b/tests/db/validate.test.ts index 5d655dca..495a9b70 100644 --- a/tests/db/validate.test.ts +++ b/tests/db/validate.test.ts @@ -6,20 +6,6 @@ type ExecError = { } describe('db:validate', () => { - it('shows an error if there is an empty line at the end of the file', () => { - try { - execSync('DATA_DIR=tests/__data__/input/validate/empty_line npm run db:validate', { - encoding: 'utf8' - }) - process.exit(1) - } catch (error) { - expect((error as ExecError).status).toBe(1) - expect((error as ExecError).stdout).toContain( - 'Error: empty lines at the end of file not allowed (channels.csv)' - ) - } - }) - it('shows an error if the number of columns in a row is incorrect', () => { try { execSync('DATA_DIR=tests/__data__/input/validate/wrong_num_cols npm run db:validate', {