mirror of
https://github.com/immich-app/immich.git
synced 2024-11-17 10:58:53 -07:00
25 lines
703 B
JSON
25 lines
703 B
JSON
{
|
|
"moduleFileExtensions": ["js", "json", "ts"],
|
|
"modulePaths": ["<rootDir>"],
|
|
"rootDir": "../..",
|
|
"globalSetup": "<rootDir>/test/e2e/setup.ts",
|
|
"testEnvironment": "node",
|
|
"testRegex": ".e2e-spec.ts$",
|
|
"testTimeout": 60000,
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"<rootDir>/src/**/*.(t|j)s",
|
|
"!<rootDir>/src/**/*.spec.(t|s)s",
|
|
"!<rootDir>/src/infra/migrations/**"
|
|
],
|
|
"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"
|
|
}
|
|
}
|