Skip to content

Commit e754bb3

Browse files
authored
Add LiteSVM tests for the Processing Instructions anchor program (#478)
* feat: add LiteSVM test for processing instruction anchor program * chore: update package dependencies and remove unused packages - Added `litesvm` dependency to `package.json` and updated `pnpm-lock.yaml`. - Removed `anchor-bankrun` and `solana-bankrun` dependencies from both files. - Updated `@solana/web3.js` version in `pnpm-lock.yaml` to include a new version. * chore: update TypeScript module resolution in tsconfig.json - Changed module resolution from "commonjs" to "nodenext" in tsconfig.json for better compatibility with modern Node.js features. * chore: remove unused bankrun test file - Deleted the bankrun.test.ts file as part of the cleanup process to eliminate unused tests and dependencies.
1 parent dad9c31 commit e754bb3

File tree

5 files changed

+250
-121
lines changed

5 files changed

+250
-121
lines changed

basics/processing-instructions/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.95.2",
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
}

basics/processing-instructions/anchor/pnpm-lock.yaml

Lines changed: 157 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)