From 7d0987948e6473714d58776c0f95f56ff88e5dc4 Mon Sep 17 00:00:00 2001 From: Sagar Rajput Date: Wed, 24 Apr 2024 18:34:29 +0530 Subject: [PATCH] chore: [SIG-583]: jest coverage setup --- frontend/jest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/jest.config.ts b/frontend/jest.config.ts index 8737901922..a02211aab3 100644 --- a/frontend/jest.config.ts +++ b/frontend/jest.config.ts @@ -5,6 +5,7 @@ const config: Config.InitialOptions = { coverageDirectory: 'coverage', coverageReporters: ['text', 'cobertura', 'html', 'json-summary'], moduleFileExtensions: ['ts', 'tsx', 'js', 'json'], + collectCoverageFrom: ['src/**/*.{ts,tsx}'], modulePathIgnorePatterns: ['dist'], moduleNameMapper: { '\\.(css|less|scss)$': '/__mocks__/cssMock.ts',