Skip to content

test: cover vault withdrawal flow#47

Open
pntech20 wants to merge 1 commit into
Protox-Labs:mainfrom
pntech20:test/withdraw-flow-coverage
Open

test: cover vault withdrawal flow#47
pntech20 wants to merge 1 commit into
Protox-Labs:mainfrom
pntech20:test/withdraw-flow-coverage

Conversation

@pntech20
Copy link
Copy Markdown

Summary

  • add focused coverage for the vault withdrawal flow, including success, wallet wiring, invalid amounts, submission errors, and simulation errors
  • normalize deposit and withdrawal amounts before building Soroban calls so invalid values fail before transaction submission
  • fix the cache test mock typing and account setup so the full Jest suite runs cleanly

Checks

  • npm test -- --runInBand
  • npm run build
  • git diff --check

Closes #23

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

### 🧪 Add tests for withdraw method

1 participant