2023-06-08 17:01:07 +02:00
|
|
|
{
|
|
|
|
"moduleFileExtensions": ["js", "json", "ts"],
|
|
|
|
"modulePaths": ["<rootDir>"],
|
2023-08-01 17:49:50 +02:00
|
|
|
"rootDir": "../..",
|
|
|
|
"globalSetup": "<rootDir>/test/e2e/setup.ts",
|
2023-06-08 17:01:07 +02:00
|
|
|
"testEnvironment": "node",
|
|
|
|
"testRegex": ".e2e-spec.ts$",
|
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"
|
|
|
|
}
|
|
|
|
}
|