aglinxinyuan opened a new pull request, #6784:
URL: https://github.com/apache/texera/pull/6784

   ### What changes were proposed in this PR?
   
   Extends `virtual-environment.service.spec.ts` with 15 tests (5 -> 20), 
covering `getAccessToken` (all three branches), the PVE list/save/delete and 
package endpoints (both the token and no-token `buildBaseParams` branches), 
`getUserPackages` match/no-match, and `getPveWebSocketUrl` (ws/wss, token 
presence, package/name encoding). Coverage 30% -> 100%. No existing tests 
modified.
   
   ### Any related issues, documentation, discussions?
   
   Closes #6778.
   
   ### How was this PR tested?
   
   `ng test --include='**/virtual-environment.service.spec.ts'` -> 20/20 
passing. `yarn format:ci` passes.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.8 [1M context])


-- 
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