Add tests and utilities for coverage improvements

This commit is contained in:
beatz174-bit
2025-12-01 21:23:45 +10:00
parent 5d5edf7b47
commit 5bb16d155f
17 changed files with 840 additions and 76 deletions
+11
View File
@@ -0,0 +1,11 @@
# StockFill
## Testing and coverage
The test suite uses Vitest with React Testing Library. Coverage thresholds are enforced via the Vite test configuration to keep statements, branches, functions, and lines at or above 80%. Run tests locally with:
```
npm run test:coverage
```
The suite includes unit coverage for product management flows, pick list utilities, numeric steppers, autocompletion, and dialog behaviors to ensure core UX remains stable.