Commit 550af2d
authored
Add LiteSVM tests for create-account Anchor program (#472)
* feat: add LiteSVM test for creating a system account in Anchor
- Implement test for creating a system account using LiteSVM
- Include transaction creation and assertion for account lamports
* chore: add litesvm dependency and update dependencies in package.json and pnpm-lock.yaml
- Upgrade @solana/web3.js from ^1.95.2 to ^1.98.4
- Add litesvm dependency with version ^0.4.0
- Update lockfile to reflect changes in dependencies and their versions
* fix: correct test description and import path for type error
* chore: update TypeScript configuration for create-account anchor
- Change target and module to es2020 and nodenext
- Update lib to es2020 for improved compatibility
* chore: remove deprecated bankrun test and dependencies
- Delete bankrun.test.ts as it is no longer needed
- Remove anchor-bankrun and solana-bankrun dependencies from package.json and pnpm-lock.yaml1 parent 4703812 commit 550af2d
6 files changed
Lines changed: 245 additions & 195 deletions
File tree
- basics/create-account/anchor
- tests
| 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 | | |
| |||
0 commit comments