jest.config.json
{
"clearMocks": true,
"collectCoverageFrom": [
"**/*.ts",
"!**/*.d.ts",
"!**/node_modules/**"
],
"coverageReporters": [
"lcov", "text", "text-summary"
],
"coverageThreshold": {
"global": {
"branches": 35,
"functions": 50,
"lines": 45,
"statements": 45
}
},
"moduleFileExtensions": [
"js",
"ts"
],
"testEnvironment": "node",
"testMatch": [
"**/*.spec.ts"
],
"testRunner": "jest-circus/runner",
"testTimeout": 20000,
"transform": {
"^.+\\.ts$": "ts-jest"
},
"verbose": true
}