mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
39 lines
793 B
JSON
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
|
|
}
|
|
}
|
|
} |