From fe47eeaee2430c97a897aa097271552d11ac016b Mon Sep 17 00:00:00 2001 From: Dick Wolff <5620002+dickwolff@users.noreply.github.com> Date: Sat, 30 Dec 2023 00:01:51 +0100 Subject: [PATCH] Add ts files as coverage source to jest.config --- jest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/jest.config.ts b/jest.config.ts index 9ba5f2b..5f5f244 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -6,6 +6,7 @@ const config: Config.InitialOptions = { transform: { '^.+\\.tsx?$': 'ts-jest' }, + collectCoverageFrom: ['src/**/*.ts'], coverageReporters: ['text-summary', 'cobertura'] };