oneuptime/CommonServer/jest.config.json

34 lines
811 B
JSON
Raw Normal View History

2022-05-02 19:39:10 +00:00
{
"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,
"transformIgnorePatterns": [
"/node_modules/(?!Common).+\\.js$"
],
"moduleNameMapper": {
"axios": "axios/dist/node/axios.cjs"
},
"coverageReporters": ["text", "lcov"],
2022-05-03 20:50:17 +00:00
"testRegex": "./Tests/(.*).test.ts",
2022-05-02 19:39:10 +00:00
"collectCoverageFrom": ["./**/*.(tsx||ts)"],
"coverageThreshold": {
"global": {
"lines": 0,
"functions": 0,
"branches": 0,
"statements": 0
}
}
}