mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
Add comprehensive tests for role field security: - Default role assignment verification - input:false security (prevents role escalation) - JWT payload role validation - Role consistency across sessions - Minimal JWT claims (no sensitive data) Test infrastructure improvements: - Add jose mock for ESM compatibility - Update better-auth mock response format - Configure Jest e2e to use mocks |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| e2e | ||
| integration | ||
| jest-e2e.json | ||
| setup-e2e.ts | ||
| setup.ts | ||