Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
There are only a handful of unit tests for roughly 130 source files, and the most failure-prone logic (transaction build and submit hooks, the wallet and user stores) has none. Without coverage these regress silently. This is the safety net the rest of the frontend work needs.
Acceptance criteria
Files to touch
src/app/hooks/*.ts
src/app/stores/*.ts
jest.config.js (coverage config and thresholds)
Out of scope
- E2E flows (tracked separately)
- Visual regression
Why this matters
There are only a handful of unit tests for roughly 130 source files, and the most failure-prone logic (transaction build and submit hooks, the wallet and user stores) has none. Without coverage these regress silently. This is the safety net the rest of the frontend work needs.
Acceptance criteria
useApi,useContractMutation,useConfirmedMutation,useTransactionPreview, anduseRepaymentOperationuseWalletStoreanduseUserStorecovering connect, switch, disconnect, and error pathsFiles to touch
src/app/hooks/*.tssrc/app/stores/*.tsjest.config.js(coverage config and thresholds)Out of scope