008f0fd7ab
- Update Docker base images: node:22-alpine → node:24-alpine - Add engines.node >=24.0.0 to package.json files - Create .nvmrc files with 24.15.0 - Update CI workflow to use node-version: 24.15.0 - Fix jest-e2e.json for uuid@13 ES Module compatibility Validation: - Backend unit tests: 340/340 passed - Frontend unit tests: 137/137 passed - Frontend build: successful (39 static pages)
23 lines
670 B
JSON
23 lines
670 B
JSON
{
|
|
"moduleFileExtensions": ["js", "json", "ts"],
|
|
"rootDir": "..",
|
|
"testEnvironment": "node",
|
|
"testRegex": ".e2e-spec.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"moduleNameMapper": {
|
|
"^@/(.*)$": "<rootDir>/src/$1",
|
|
"^@common/(.*)$": "<rootDir>/src/common/$1",
|
|
"^@modules/(.*)$": "<rootDir>/src/modules/$1",
|
|
"^@config/(.*)$": "<rootDir>/src/config/$1",
|
|
"^@database/(.*)$": "<rootDir>/src/database/$1",
|
|
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
},
|
|
"transformIgnorePatterns": ["node_modules/.pnpm/(?!uuid)"],
|
|
"setupFilesAfterEnv": ["<rootDir>/test/jest-e2e.setup.ts"],
|
|
"testTimeout": 60000,
|
|
"maxWorkers": 1,
|
|
"verbose": true
|
|
}
|