learning_ai_common_plat/services/platform-service/src
saravanakumardb1 a613cf1bf9 test(auth): add SmartAuth integration tests + fix auth.routes.test mocks
- Add 5 new tests: MFA challenge integration, risk scorer edge cases, login events wiring, device trust pure function
- Fix auth.routes.test.ts: add vi.mock stubs for login-events, risk-scorer, mfa, devices, config, event-bus
- Change afterEach from restoreAllMocks to clearAllMocks (preserves mock implementations between tests)
- Total: 42 smartauth tests, 951 platform-service tests all passing
2026-03-12 11:27:50 -07:00
..
lib feat(auth): SmartAuth backend core — OAuth, MFA, passkeys, device trust, login events 2026-03-12 10:55:41 -07:00
migrations refactor(platform-service): migrate webhooks/routes and migrations/runner from cosmos.js to datastore 2026-03-02 02:02:47 -08:00
modules test(auth): add SmartAuth integration tests + fix auth.routes.test mocks 2026-03-12 11:27:50 -07:00
server.test.ts fix(fastify-core): address jwt rollout review findings 2026-03-06 13:44:22 -08:00
server.ts feat(auth): SmartAuth backend core — OAuth, MFA, passkeys, device trust, login events 2026-03-12 10:55:41 -07:00