Files
Compass/backend/shared/tsconfig.test.json
2026-03-01 06:00:28 +01:00

20 lines
596 B
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
// Use / as the root for tests so path-mapped imports from
// ../shared and ../../common are within the configured rootDir.
// This avoids TS6059 during ts-jest compilation.
"rootDir": "../..",
"baseUrl": ".",
"paths": {
"api/*": ["../api/src/*"],
"shared/*": ["src/*"],
"common/*": ["../../common/src/*"],
"email/*": ["../email/emails/*"]
},
"isolatedModules": true
},
"include": ["tests/**/*.ts", "../../common/src/**/*.ts", "src/**/*.ts", "jest.config.ts"],
"exclude": []
}