diff --git a/jest.config.js b/jest.config.js index 5151e71c7..ee381c3cc 100644 --- a/jest.config.js +++ b/jest.config.js @@ -21,17 +21,13 @@ module.exports = { collectCoverage: true, // An array of glob patterns indicating a set of files for which coverage information should be collected - // collectCoverageFrom: [ - // "src/Common/Headers*" - // ], + collectCoverageFrom: ["src/**/*.{js,jsx,ts,tsx}"], // The directory where Jest should output its coverage files coverageDirectory: "coverage", // An array of regexp pattern strings used to skip coverage collection - // coveragePathIgnorePatterns: [ - // "/node_modules/" - // ], + coveragePathIgnorePatterns: ["/node_modules/"], // A list of reporter names that Jest uses when writing coverage reports coverageReporters: ["json", "text", "cobertura"], @@ -39,10 +35,10 @@ module.exports = { // An object that configures minimum threshold enforcement for coverage results coverageThreshold: { global: { - branches: 22, - functions: 28, - lines: 33, - statements: 31, + branches: 25, + functions: 25, + lines: 30, + statements: 30, }, },