6f3e6b9bd9
QA identified that impersonation.spec.ts mocks impersonation session endpoints but not portal session endpoints. When CustomerPortal.tsx validates the session it calls GET /api/portal/me which fails without a mock, causing the redirect to fire and tests to fail. Co-Authored-By: Paperclip <noreply@paperclip.ing>