test(loans): migrate specs to Vitest - #476
Conversation
E2E — mocked backend🎭 E2E Tests✅ All green — 340 passed · 0 failed · 0 skipped, across 27 spec files in 6m 35s. By spec file
All 340 tests — click to expand
Slowest 10 — what the shard counts should be tuned against
📼 Download the HTML report, videos and traces — see the Generated by run 33567744397 from |
E2E — real Fineract🎭 E2E Tests✅ All green — 72 passed · 0 failed · 0 skipped, across 22 spec files in 6m 47s. By spec file
All 72 tests — click to expand
Slowest 10 — what the shard counts should be tuned against
📼 Download the HTML report, videos and traces — see the Generated by run 33567744397 from |
|
@zhangxinyao88 Please rebase to resolve conflicts |
f03387b to
c52006f
Compare
What and why
Part of #406.
Migrates the remaining 12 loan-area Jasmine/Karma specs to Vitest, removes them from the Karma ratchet baseline, and updates the matching ESLint-suppression paths. The client migration remains in #475.
Verification
TZ=UTC npm run test:unit -- --include='src/app/features/loans/**/*.test.ts'— 13 files / 59 tests passed, including the already-migrated loan-view specnpm run check:test-runner— 13 Karma specs remainnpm run lintnpm run lint:prunenpm run i18n:checknpm run check:iconsnpm run buildScreenshots
Not applicable — test-only change.
Checklist
src/app/api/.src/app/core/adapters/instead of direct browser globals or imperative third-party APIs. Not applicable — test-only change.