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