Skip to content

Commit 024e8a0

Browse files
authored
Add LiteSVM tests for the hello-solana Anchor program (#475)
* feat: add LiteSVM test for hello-solana program * chore: add litesvm and update @solana/web3.js dependency - Upgrade @solana/web3.js to version 1.98.4 - Add litesvm dependency with version 0.4.0 - Update related dependencies in pnpm-lock.yaml to reflect changes * chore: update TypeScript config for hello-solana anchor to resolve TS issues - Upgrade TypeScript compiler options to use ES2020 features - Change module resolution to 'nodenext' * refactor: update hello-solana Anchor test file to use type-only imports and clearer suite descriptions * chore: remove deprecated bankrun and related stuff
1 parent 231573d commit 024e8a0

6 files changed

Lines changed: 222 additions & 166 deletions

File tree

basics/hello-solana/anchor/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
"type": "module",
33
"dependencies": {
44
"@coral-xyz/anchor": "0.32.1",
5-
"@solana/web3.js": "^1.95.2"
5+
"@solana/web3.js": "^1.98.4",
6+
"litesvm": "^0.4.0"
67
},
78
"devDependencies": {
89
"@types/bn.js": "^5.1.0",
910
"@types/chai": "^4.3.0",
1011
"@types/mocha": "^9.0.0",
11-
"anchor-bankrun": "^0.4.0",
1212
"chai": "^4.3.4",
1313
"mocha": "^9.0.3",
14-
"solana-bankrun": "^0.3.0",
1514
"ts-mocha": "^10.0.0",
1615
"typescript": "^4.3.5"
1716
}

0 commit comments

Comments
 (0)