oneuptime/Common/jest.config.json

40 lines
793 B
JSON

{
"preset": "ts-jest",
"testPathIgnorePatterns": [
"node_modules",
"dist"
],
"verbose": true,
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json",
"babelConfig": false
}
},
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"collectCoverage": false,
"coverageReporters": [
"text",
"lcov"
],
"testRegex": "./Tests/(.*).test.ts",
"collectCoverageFrom": [
"./**/*.(tsx||ts)"
],
"coverageThreshold": {
"global": {
"lines": 0,
"functions": 0,
"branches": 0,
"statements": 0
}
}
}