{
  "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"
  }
}
