The GitHub Actions job "Required Checks" on texera.git/main has failed.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
dab5e141edd1110074279dc37cece6e087e6b52c / Xinyuan Lin <[email protected]>
test(frontend): extend VirtualEnvironmentService unit test coverage (#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])

Report URL: https://github.com/apache/texera/actions/runs/29970253994

With regards,
GitHub Actions via GitBox

Reply via email to