respira/src
Jan-Henrik Bruhn f2b01c59e1 feature: Add comprehensive test suite for custom hooks
Add tests for all hooks with @testing-library/react:
- utility hooks: usePrevious, useAutoScroll, useClickOutside
- domain hooks: useErrorPopoverState, useMachinePolling
- platform hooks: useBluetoothDeviceListener

Changes:
- Install @testing-library/react and jsdom for React hook testing
- Configure vitest to use jsdom environment for React testing
- Add 91 tests covering all hook functionality
- Test state management, effects, event listeners, and async behavior
- Verify proper cleanup and edge cases

All tests passing. Coverage includes error states, polling intervals,
click-outside detection, auto-scroll behavior, and IPC integration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-27 12:40:47 +01:00
..
components fix: Resolve TypeScript import paths and type errors in hooks refactor 2025-12-27 12:29:01 +01:00
data feature: Add Brother thread color mapping to PES importer 2025-12-21 20:37:32 +01:00
formats feature: Add RGB color matching for Brother thread identification 2025-12-21 20:52:32 +01:00
hooks feature: Add comprehensive test suite for custom hooks 2025-12-27 12:40:47 +01:00
lib style: Apply linter auto-fixes 2025-12-22 12:03:49 +01:00
platform fix: formatting 2025-12-26 22:50:02 +01:00
services fix: formatting 2025-12-26 22:50:02 +01:00
stores fix: Remove module-level side effect from useMachineStore initialization 2025-12-26 23:29:08 +01:00
types fix: run linter 2025-12-18 11:39:22 +01:00
utils Merge pull request #28 from jhbruhn/feature/pattern-rotation 2025-12-25 21:55:07 +01:00
App.css fix: Restore correct destructive variant colors 2025-12-22 11:59:02 +01:00
App.tsx fix: Remove module-level side effect from useMachineStore initialization 2025-12-26 23:29:08 +01:00
index.css feature: Implement unified semantic color system with Tailwind v4 2025-12-17 21:43:36 +01:00
main.tsx fix: run linter 2025-12-18 11:39:22 +01:00
vite-env.d.ts feature: Add application version to page title 2025-12-13 23:48:05 +01:00