zhangxinyao88 opened a new pull request, #459:
URL: https://github.com/apache/fineract-backoffice-ui/pull/459

   Part of #403.
   
   Tracker: 
https://github.com/apache/fineract-backoffice-ui/issues/403#issuecomment-5419731357
   
   ## Summary
   
   - migrate the root app component spec and microfrontend app spec to Vitest
   - replace the microfrontend Karma target with its own Vitest unit-test target
   - run the microfrontend test target in CI
   - reduce the Karma baseline from 76 to 74 files
   - move the existing ESLint suppression to the renamed app component test
   
   The microfrontend needs its own target because Angular scopes test discovery 
to one workspace project. Renaming its spec without adding that target would 
leave it outside both runners.
   
   ## Testing
   
   - focused main app: 1 file, 2 tests passed
   - microfrontend: 1 file, 2 tests passed
   - full main Vitest: 161 files, 940 tests passed
   - TypeScript checks for both Vitest configurations
   - `npm run lint`
   - `npm run format:check`
   - `npm run check:test-runner`
   
   Local Karma hit an esbuild deadlock during Angular compilation before the 
tests started. PR CI will verify the remaining Karma suite.
   


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