web/common.jest.json

20 lines
586 B
JSON

{
"collectCoverageFrom": ["src/**/*.{ts,tsx}", "!**/index.ts"],
"coverageReporters": ["text", "lcov", "html", "json-summary"],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)$",
"testPathIgnorePatterns": ["/node_modules/"],
"coveragePathIgnorePatterns": ["/node_modules/"],
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"],
"transform": {
"^.+\\.tsx?$": ["ts-jest", { "tsconfig": "tsconfig.json" }]
},
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}