managarten/services/mana-core-auth/test/jest-e2e.json
Till-JS ab49be0bee 🐛 fix(matrix-mana-bot): resolve QEMU emulation failure in CI
- Build matrix-mana-bot only for linux/amd64 (arm64 fails due to QEMU)
- Move pnpm overrides for cpu-features and ssh2 to root package.json
- These native deps cause illegal instruction errors under QEMU emulation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 13:59:04 +01:00

28 lines
833 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",
"^jose$": "<rootDir>/__mocks__/jose.ts"
},
"testTimeout": 30000,
"setupFilesAfterEnv": ["./setup-e2e.ts"]
}