mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 17:39:40 +02:00
- 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>
28 lines
833 B
JSON
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"]
|
|
}
|