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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions