oneuptime/MCP/jest.config.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"
}
}]
}
}