-
Notifications
You must be signed in to change notification settings - Fork 0
Add Vitest unit tests for core utilities #6
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Summary
Add unit tests for the core utility functions that power DonFlow.
Priority targets
formatCurrency()/getCurrency()— locale-aware formattingclassifyMerchant()— merchant name → category mappingdetectCsvFormat()— auto-detection of bank CSV formatscalculateDrift()— plan vs actual variance calculation
Stack
- Vitest (already compatible with Vite)
- Testing Library for component tests (optional, separate issue)
Why
Core financial calculations must be correct. Tests prevent regressions on drift detection and currency formatting.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers