From 07ddd882e14a71200898a9812f2783ebe5745e4a Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 2 Nov 2023 19:30:06 +0100 Subject: [PATCH] exclude all db files from coverage, raise coverage to 90% --- backend/jest.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/jest.config.js b/backend/jest.config.js index d9a196ace..15eb22477 100644 --- a/backend/jest.config.js +++ b/backend/jest.config.js @@ -8,11 +8,11 @@ module.exports = { '!**/test/**', '!**/build/**', '!**/src/**/?(*.)+(spec|test).ts?(x)', - '!**/src/db/migrations/**' + '!**/src/db/**' ], coverageThreshold: { global: { - lines: 72, + lines: 90, }, }, testMatch: ['**/src/**/?(*.)+(spec|test).ts?(x)'],