Add missing component and hook tests, raise coverage thresholds
13 new test files for untested components (color-palette, player-management, stat-block, settings-modal, export/import dialogs, bulk-import-prompt, source-fetch-prompt, player-character-section) and hooks (use-long-press, use-swipe-to-dismiss, use-bulk-import, use-initiative-rolls). Expand combatant-row tests with inline editing, HP popover, and condition picker. Component coverage: 59% → 80% lines, 55% → 71% branches Hook coverage: 72% → 83% lines, 55% → 66% branches Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -26,12 +26,12 @@ export default defineConfig({
|
||||
branches: 70,
|
||||
},
|
||||
"apps/web/src/hooks": {
|
||||
lines: 72,
|
||||
branches: 55,
|
||||
lines: 83,
|
||||
branches: 66,
|
||||
},
|
||||
"apps/web/src/components": {
|
||||
lines: 59,
|
||||
branches: 55,
|
||||
lines: 80,
|
||||
branches: 71,
|
||||
},
|
||||
"apps/web/src/components/ui": {
|
||||
lines: 93,
|
||||
|
||||
Reference in New Issue
Block a user