managarten/services/mana-core-auth/test
Till JS c6b1f83f8b test(auth): add tests for audit log, magic links, and security events
Unit tests (12 new):
- Security events controller: endpoint returns events, guard config
- Audit log service: DB query, ordering, limit, empty results
- Magic link passthrough: route exists, delegates to Better Auth

E2E tests (5 new):
- Magic link routes are routable (send + verify)
- Security events endpoint auth + response shape

Total auth tests: 47 unit + ~35 E2E = 82+

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 11:29:24 +01:00
..
__mocks__ 🐛 fix(mana-core-auth): use BASE_URL as JWT issuer for OIDC compatibility 2026-02-01 13:55:05 +01:00
e2e test(auth): add tests for audit log, magic links, and security events 2026-03-27 11:29:24 +01:00
integration Fix wrong type 2025-12-04 23:25:25 +01:00
jest-e2e.json 🐛 fix(matrix-mana-bot): resolve QEMU emulation failure in CI 2026-02-01 13:59:04 +01:00
setup-e2e.ts improve code quality 2025-12-03 23:42:37 +01:00
setup.ts improve code quality 2025-12-03 23:42:37 +01:00