xpeditis2.0/apps/backend/test/jest-integration.json
2025-10-20 12:30:08 +02:00

26 lines
800 B
JSON

{
"moduleFileExtensions": ["js", "json", "ts"],
"rootDir": "../",
"testMatch": ["**/test/integration/**/*.spec.ts"],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"src/infrastructure/**/*.(t|j)s",
"!src/infrastructure/**/*.module.(t|j)s",
"!src/infrastructure/**/index.(t|j)s"
],
"coverageDirectory": "../coverage/integration",
"testEnvironment": "node",
"moduleNameMapper": {
"^@domain/(.*)$": "<rootDir>/src/domain/$1",
"@application/(.*)$": "<rootDir>/src/application/$1",
"^@infrastructure/(.*)$": "<rootDir>/src/infrastructure/$1"
},
"transformIgnorePatterns": [
"node_modules/(?!(@faker-js)/)"
],
"testTimeout": 30000,
"setupFilesAfterEnv": ["<rootDir>/test/setup-integration.ts"]
}