Skip to content

Conversation

@sol-warrior
Copy link
Contributor

Adds LiteSVM-based test suite for the counter Anchor program, providing a lightweight alternative testing approach alongside existing Anchor tests.

Changes

  • Add LiteSVM test suite tests/litesvm.test.ts covering initialization, increment, and multiple increment operations
  • Add litesvm (^0.4.0) dependency
  • Remove deprecated bankrun test file and its dependencies - solana-bankrun and anchor-bankrun
  • Refactor: rename file for naming consistency across examples and fix related TypeScript type issues

Testing

All tests pass:

  • ✅ LiteSVM: Counter (3 tests)
  • ✅ Anchor: Counter (3 tests)

@jacobcreech Please take a look when you get a moment. Thank you! 🙌🏼

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.

1 participant