Commit 8143091
authored
feat: Add LiteSVM tests for the Transfer-SOL anchor program (#482)
* feat: add litesvm test for transfer-sol anchor program
* Updated package.json to include litesvm dependency.
* Modified tsconfig.json to use 'nodenext' module.
* Added litesvm test cases for transferring SOL using both CPI and program calls.
* refactor: update transfer-sol tests for improved clarity and functionality
* Renamed test suite to "Anchor: Transfer SOL" for better context.
* Simplified recipient and payer account generation in tests.
* Replaced balance checks with assertions for clarity.
* Removed unused getBalances function to streamline the test code.
* chore: remove deprecated bankrun test file and its related dependencies1 parent 4edfea4 commit 8143091
File tree
6 files changed
+215
-245
lines changed- basics/transfer-sol/anchor
- tests
6 files changed
+215
-245
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
This file was deleted.
0 commit comments