mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
26 lines
794 B
JSON
26 lines
794 B
JSON
{
|
|
"moduleFileExtensions": ["js", "json", "ts"],
|
|
"modulePaths": ["<rootDir>"],
|
|
"rootDir": "../..",
|
|
"globalSetup": "<rootDir>/test/e2e/setup.ts",
|
|
"testEnvironment": "node",
|
|
"testRegex": ".e2e-spec.ts$",
|
|
"testTimeout": 6000000,
|
|
"transform": {
|
|
"^.+\\.ts$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"<rootDir>/src/**/*.(t|j)s",
|
|
"!<rootDir>/src/**/*.spec.(t|s)s",
|
|
"!<rootDir>/src/infra/migrations/**"
|
|
],
|
|
"coverageDirectory": "./coverage",
|
|
"moduleNameMapper": {
|
|
"^@api(|/.*)$": "<rootDir>../server/e2e/client/$1",
|
|
"^@test(|/.*)$": "<rootDir>../server/test/$1",
|
|
"^@app/immich(|/.*)$": "<rootDir>../server/src/immich/$1",
|
|
"^@app/infra(|/.*)$": "<rootDir>../server/src/infra/$1",
|
|
"^@app/domain(|/.*)$": "<rootDir>/../server/src/domain/$1"
|
|
}
|
|
}
|