oneuptime/Common/jest.config.json
2023-11-22 10:55:09 +00:00

39 lines
793 B
JSON

{
"preset": "ts-jest",
"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)"
],
"moduleNameMapper": {
"axios": "axios/dist/node/axios.cjs"
},
"coverageThreshold": {
"global": {
"lines": 0,
"functions": 0,
"branches": 0,
"statements": 0
}
}
}