The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-6784-31a28b9e567a7f30dc543dc95fda03986893b906
 has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
e345e4559560d4d3daad316d88c9626f5e107b21 / 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/29967929436

With regards,
GitHub Actions via GitBox

Reply via email to