mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
33 lines
954 B
JSON
33 lines
954 B
JSON
{
|
|
"preset": "ts-jest",
|
|
"verbose": true,
|
|
"globals": {
|
|
"ts-jest": {
|
|
"tsconfig": "tsconfig.json",
|
|
"babelConfig": false
|
|
}
|
|
},
|
|
"moduleFileExtensions": ["ts", "js", "json", "tsx","css"],
|
|
"transform": {
|
|
".(ts|tsx)": "ts-jest"
|
|
},
|
|
"testEnvironment": "jsdom",
|
|
"collectCoverage": true,
|
|
"coverageReporters": ["text", "html"],
|
|
"testRegex": ".src/Tests/(.*).test.(tsx||ts)",
|
|
"collectCoverageFrom": ["./**/*.(tsx||ts)"],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"lines": 0,
|
|
"functions": 0,
|
|
"branches": 0,
|
|
"statements": 0
|
|
}
|
|
},
|
|
"moduleNameMapper": {
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
|
|
"\\.(css|less)$": "identity-obj-proxy",
|
|
"uuid":"<rootDir>/node_modules/jest-runtime/build/index.js"
|
|
}
|
|
}
|