Skip to content

### 馃И Add tests for vault hook actions#24

Description

@El-swaggerito

Overview
The useVault hook should be tested for deposit, withdraw, claim rewards, and balance fetch behavior.

Requirements

  • Mock Protox SDK methods
  • Test loading states
  • Test success and error responses
  • Validate state updates

Acceptance Criteria

  • Vault hook has meaningful coverage
  • SDK calls are mocked correctly
  • Tests cover user-facing states

Labels: testing, vault

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions