Skip to content

Commit 2cbc41f

Browse files
authored
Add LiteSVM tests for counter Anchor program (#471)
* feat: add LiteSVM tests for counter program * chore: update dependencies in package.json and pnpm-lock.yaml - Add litesvm dependency with version ^0.4.0 - Upgrade @solana/web3.js from ^1.95.2 to ^1.98.4 * chore: rename file for consistent naming across examples * chore: update TypeScript configuration for counter example - Change target and lib to ES2020 - Update module system to nodenext * chore: remove deprecated bankrun test file and related dependencies
1 parent 550af2d commit 2cbc41f

File tree

7 files changed

+337
-231
lines changed

7 files changed

+337
-231
lines changed

basics/counter/anchor/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
},
66
"dependencies": {
77
"@coral-xyz/anchor": "0.32.1",
8-
"@solana/web3.js": "^1.95.2"
8+
"@solana/web3.js": "^1.98.4",
9+
"litesvm": "^0.4.0"
910
},
1011
"devDependencies": {
1112
"@types/bn.js": "^5.1.0",
1213
"@types/chai": "^4.3.0",
1314
"@types/mocha": "^9.0.0",
14-
"anchor-bankrun": "^0.4.0",
1515
"chai": "^4.3.4",
1616
"mocha": "^9.0.3",
1717
"prettier": "^2.6.2",
18-
"solana-bankrun": "^0.3.0",
1918
"ts-mocha": "^10.0.0",
2019
"typescript": "^4.3.5"
2120
},

0 commit comments

Comments
 (0)