{
  "moduleFileExtensions": ["js", "json", "ts"],
  "modulePaths": ["<rootDir>"],
  "rootDir": "../..",
  "globalSetup": "<rootDir>/e2e/api/setup.ts",
  "testEnvironment": "node",
  "testMatch": ["**/e2e/api/specs/*.e2e-spec.[tj]s"],
  "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"
  }
}
