Skip to content

Commit 9a7acfc

Browse files
aledlieclaude
andcommitted
test: expand usePersonalization hook test coverage
Add comprehensive test coverage for usePersonalization hook including: - Error handling for queries and mutations - Mutation state tracking (pending, success states) - findNextAvailablePosition helper function edge cases - Advanced scenarios for combined hooks (useSavedViewsManager, usePreferencesManager, useWidgetLibrary) - Layout operations edge cases (non-existent widgets, single column grids, property preservation) Tests cover loading states, error boundaries, empty states, and complex grid positioning logic. Increases overall test coverage for the personalization feature module. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1a9b567 commit 9a7acfc

1 file changed

Lines changed: 978 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)