test: add unit tests for useRecoilTransactionsHistory hook
This issue requests the addition of unit tests for the `useRecoilTransactionsHistory` hook, which currently lacks coverage. The tests should cover various scenarios like initial state, transaction recording, skipping/toggling actions, consecutive toggling, rollback, sweep, and reset. The necessary testing infrastructure (Vitest, Testing Library) is already in place.