Skip to content

Commit

Permalink
refactor(useGoalsUpdater): Refactor hook with modular operations and …
Browse files Browse the repository at this point in the history
…add tests.

- Refactored useGoalsUpdater logic to separate modules: addOperations, deleteOperations, toggleOperations, and updateHelpers
- Added new unit tests in useGoalsUpdater.test.js to cover modularized operations
  • Loading branch information
ZL-Asica committed Nov 7, 2024
1 parent bb38723 commit 7fce47b
Show file tree
Hide file tree
Showing 7 changed files with 467 additions and 162 deletions.
162 changes: 0 additions & 162 deletions src/hooks/useGoalsUpdater.js

This file was deleted.

Loading

0 comments on commit 7fce47b

Please sign in to comment.