From d7faeda5e0bc8111c279fa076a692e48720d71d1 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Mon, 16 Dec 2024 18:12:10 +0100 Subject: [PATCH] Fix --- packages/twenty-front/tsconfig.json | 2 +- packages/twenty-shared/jest.config.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/twenty-front/tsconfig.json b/packages/twenty-front/tsconfig.json index 3c0fcbf5b5ba..3e1173ac4bb3 100644 --- a/packages/twenty-front/tsconfig.json +++ b/packages/twenty-front/tsconfig.json @@ -25,7 +25,7 @@ "~/*": ["packages/twenty-front/src/*"], "twenty-ui": ["packages/twenty-ui/src/index.ts"], "@ui/*": ["packages/twenty-ui/src/*"], - "twenty-shared": ["packages/twenty-shared/dist"], + "twenty-shared": ["packages/twenty-shared/dist"] } }, "files": [], diff --git a/packages/twenty-shared/jest.config.ts b/packages/twenty-shared/jest.config.ts index b285ca26e733..e88407e7805f 100644 --- a/packages/twenty-shared/jest.config.ts +++ b/packages/twenty-shared/jest.config.ts @@ -27,6 +27,13 @@ const jestConfig: JestConfigWithTsJest = { moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], extensionsToTreatAsEsm: ['.ts', '.tsx'], coverageDirectory: './coverage', + coverageThreshold: { + global: { + statements: 100, + lines: 100, + functions: 100, + }, + }, }; export default jestConfig;