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! 🙌🏼

Copy link
Collaborator

@Perelyn-sama Perelyn-sama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Perelyn-sama Perelyn-sama merged commit 2cbc41f into solana-developers:main Dec 30, 2025
11 checks passed
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.

2 participants