orangeCatDeveloper opened a new pull request, #4314:
URL: https://github.com/apache/hertzbeat/pull/4314

   ## What's changed?
   
   Fixes #2008: pnpm test could not complete because many generated specs used 
incomplete TestBed setup, including importing non-standalone components and 
omitting required HTTP, router, i18n, form, and UI dependencies.
   
   This adds explicit shared helpers for shallow component and HTTP service 
tests, fixes the remaining spec-specific setup and cleanup, and runs the suite 
once in ChromeHeadless. Frontend CI now runs the unit suite so it cannot 
silently regress again.
   
   ## Test plan
   
   - pnpm test — 89/89 passed
   - pnpm lint:ts
   
   ## Checklist
   
   - [x] I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [x] I have written the necessary doc or comment.
   - [x] I have added the necessary unit tests and all cases have passed.
   
   ## Add or update API
   
   - [ ] I have added the necessary [e2e 
tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have 
passed.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to