Skip to content

store: add useWalletStore state transition tests #486

Description

@CemAyyildiz

Goal

Test setWallet, updateBalance, and disconnect state transitions in the wallet store.

Context

frontend/lib/store.ts.

Acceptance criteria

  • New frontend/lib/__tests__/store.test.ts
  • Reset store between tests
  • Frontend tests pass

Out of scope

  • localStorage persist middleware

Conflict rule

Only edit store.ts if a tiny export is needed for testing.

Activity

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions