2023-06-08 17:01:07 +02:00
|
|
|
{
|
|
|
|
"moduleFileExtensions": ["js", "json", "ts"],
|
|
|
|
"modulePaths": ["<rootDir>"],
|
2023-08-01 17:49:50 +02:00
|
|
|
"rootDir": "../..",
|
2024-01-10 06:04:16 +02:00
|
|
|
"globalSetup": "<rootDir>/e2e/jobs/setup.ts",
|
2023-06-08 17:01:07 +02:00
|
|
|
"testEnvironment": "node",
|
2024-01-10 06:04:16 +02:00
|
|
|
"testMatch": ["**/e2e/jobs/specs/*.e2e-spec.[tj]s"],
|
2023-09-02 04:01:54 +02:00
|
|
|
"testTimeout": 60000,
|
2023-06-08 17:01:07 +02:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
|
|
},
|
2023-09-02 04:01:54 +02:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/src/**/*.(t|j)s",
|
|
|
|
"!<rootDir>/src/**/*.spec.(t|s)s",
|
|
|
|
"!<rootDir>/src/infra/migrations/**"
|
|
|
|
],
|
2023-08-01 17:49:50 +02:00
|
|
|
"coverageDirectory": "./coverage",
|
2023-06-08 17:01:07 +02:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"^@test(|/.*)$": "<rootDir>/test/$1",
|
|
|
|
"^@app/immich(|/.*)$": "<rootDir>/src/immich/$1",
|
|
|
|
"^@app/infra(|/.*)$": "<rootDir>/src/infra/$1",
|
|
|
|
"^@app/domain(|/.*)$": "<rootDir>/src/domain/$1"
|
|
|
|
}
|
|
|
|
}
|