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