managarten/services/mana-core-auth/test/jest-e2e.json
Wuesteon 0ebfde0851 fix(ci): build shared packages before tests and fix formatting
- Add build:packages step to all test.yml jobs (fixes @manacore/shared-nestjs-auth not found)
- Handle missing coverage artifacts gracefully in test-coverage.yml
- Update .prettierignore to exclude apps-archived/ and problematic files
- Format all source files to pass CI checks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 23:15:00 +01:00

27 lines
790 B
JSON

{
"moduleFileExtensions": ["js", "json", "ts"],
"rootDir": ".",
"testEnvironment": "node",
"testRegex": ".e2e-spec.ts$",
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest",
{
"tsconfig": {
"esModuleInterop": true,
"allowSyntheticDefaultImports": true
}
}
]
},
"transformIgnorePatterns": ["node_modules/(?!(nanoid|better-auth)/)"],
"moduleNameMapper": {
"^nanoid$": "<rootDir>/__mocks__/nanoid.ts",
"^better-auth$": "<rootDir>/__mocks__/better-auth.ts",
"^better-auth/plugins$": "<rootDir>/__mocks__/better-auth-plugins.ts",
"^better-auth/plugins/(.*)$": "<rootDir>/__mocks__/better-auth-plugins.ts",
"^better-auth/adapters/(.*)$": "<rootDir>/__mocks__/better-auth-adapters.ts"
},
"testTimeout": 30000,
"setupFilesAfterEnv": ["./setup-e2e.ts"]
}