{
// ...
"jest": {
"moduleFileExtensions": ["js", "jsx", "json", "ts", "tsx"],
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{ts,js}",
"!**/node_modules/**",
"!**/build/**",
"!**/coverage/**"
],
"transform": {
"\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"coverageReporters": [
"text",
"text-summary"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)x?$",
"testPathIgnorePatterns": [
"/node_modules/",
"/build/",
"/coverage/"
]
}
// ...
}
-
-
Save anonymous/6c0d9c9bf82b47723dc7b2049c3438cc to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment