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

   ### What changes were proposed in this PR?
   
   Adds `src/app/dashboard/service/admin/cu-image/cu-image.service.spec.ts`, 
the first spec for `CuImageService`. No production-code changes.
   
   | Covered | Cases |
   | --- | --- |
   | `isStartable` / `isInProgress` | every `CuImageStatus`; READY is the only 
startable status; PENDING/VALIDATING are the only in-progress ones; no status 
is both |
   | `list` | GET to the collection; empty list |
   | `create` | POST with exactly `{ name, sourceRef }` |
   | `refresh` | POST `/{iid}/refresh` with `{}` |
   | `log` | GET `/{iid}/log` |
   | `delete` | DELETE `/{iid}`, completes |
   | error | a 400 reaches the subscriber unchanged |
   
   ### Any related issues, documentation, discussions?
   
   Closes #9661.
   
   ### How was this PR tested?
   
   The new spec is the test. It runs green (10 tests), and the file passes 
prettier and eslint.
   
   ```
   cd frontend
   ng test --watch=false --include 
src/app/dashboard/service/admin/cu-image/cu-image.service.spec.ts
   npx prettier --check 
src/app/dashboard/service/admin/cu-image/cu-image.service.spec.ts
   npx eslint src/app/dashboard/service/admin/cu-image/cu-image.service.spec.ts
   ```
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 5.5)
   


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