mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-11 19:56:44 +00:00
32 lines
812 B
JSON
32 lines
812 B
JSON
{
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"testMatch": ["**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts"],
|
|
"collectCoverageFrom": [
|
|
"**/*.ts",
|
|
"!**/*.d.ts",
|
|
"!**/node_modules/**",
|
|
"!**/build/**"
|
|
],
|
|
"setupFilesAfterEnv": [],
|
|
"testTimeout": 30000,
|
|
"modulePathIgnorePatterns": ["<rootDir>/build/"],
|
|
"testPathIgnorePatterns": ["OneUptimeApiService.test.ts"],
|
|
"moduleNameMapper": {
|
|
"^Common/(.*)$": "<rootDir>/../Common/$1"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(@oneuptime)/)"
|
|
],
|
|
"transform": {
|
|
"^.+\\.ts$": ["ts-jest", {
|
|
"tsconfig": {
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"strict": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"module": "commonjs"
|
|
}
|
|
}]
|
|
}
|
|
}
|