managarten/services/mana-core-auth/test/__mocks__
Wuesteon a7f274632f test(auth): add role security integration tests
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
2025-12-16 02:44:39 +01:00
..
better-auth-adapters.ts first auth impl 2025-12-01 13:30:58 +01:00
better-auth-plugins.ts first auth impl 2025-12-01 13:30:58 +01:00
better-auth.ts test(auth): add role security integration tests 2025-12-16 02:44:39 +01:00
jose.ts test(auth): add role security integration tests 2025-12-16 02:44:39 +01:00
nanoid.ts first auth impl 2025-12-01 13:30:58 +01:00