learning_ai_common_plat/services/platform-service
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
..
scripts feat(platform-service): implement P0-1 - Module generator script (pnpm gen:module) 2026-03-03 10:05:55 -08:00
src test(auth): add SmartAuth integration tests + fix auth.routes.test mocks 2026-03-12 11:27:50 -07:00
.gitignore feat(services): add platform-service (auth, audit, flags, notifications, blob) 2026-02-12 11:39:00 -08:00
Dockerfile fix(docker): make pnpm deploy work under pnpm v10 2026-02-14 18:30:00 -08:00
package.json feat(platform-service): implement P0-1 - Module generator script (pnpm gen:module) 2026-03-03 10:05:55 -08:00
tsconfig.json feat(services): add platform-service (auth, audit, flags, notifications, blob) 2026-02-12 11:39:00 -08:00
vitest.config.ts fix(platform-service): pin vitest pool to threads 2026-03-06 13:52:44 -08:00