Skip to content

Conversation

@Abdullateef1x
Copy link

What

Updates the Program Examples README to align test commands with how examples are currently configured.

Why

Examples in this repository define test scripts using pnpm in their Anchor.toml files and include pnpm-lock.yaml, but the README still references anchor run test and yarn run test.

How

  • Updated Anchor instructions to reference pnpm test via Anchor.toml scripts
  • Updated native instructions to reflect pnpm-based test execution
  • Kept changes documentation-only

README.md Outdated
Tests should be executed using `pnpm test` as defined in the `Anchor.toml` scripts section.

- `native` - Written using Solana's native Rust crates and vanilla Rust.
Build and test commands are defined via pnpm scripts and use `solana-bankrun` for testing.
Copy link
Collaborator

Choose a reason for hiding this comment

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

solana-bankrun is deprecated, that should be litesvm

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the catch! Updated the README to replace solana-bankrun with litesvm.

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