mengw15 opened a new issue, #5454:
URL: https://github.com/apache/texera/issues/5454

   ### Task Summary
   
   `google-auth.service.ts` 
([frontend/.../common/service/user/google-auth.service.ts](https://github.com/apache/texera/blob/a820f6727/frontend/src/app/common/service/user/google-auth.service.ts))
 is a 34-LOC wrapper around Google's OAuth flow used by the login screen. It 
currently has no `.spec.ts`.
   
   ### Suggested coverage
   
   - `signIn()` happy path emits the expected token
   - `signOut()` clears local state and propagates to the underlying Google SDK
   - Token expiry / refresh path returns a fresh credential
   - Error path (Google SDK rejection) surfaces a typed error rather than 
swallowing
   
   ### Acceptance
   
   - New `google-auth.service.spec.ts` next to the service
   - Google OAuth client mocked
   - All new tests green under default jsdom target


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to