Commit d9ff6d8
authored
feat: Add LiteSVM tests for the Repository-Layout anchor program (#483)
* feat: add LiteSVM tests for repository-layout anchor program
* Implement tests for various interactions at the carnival, including going on rides, playing games, and eating food.
* Introduce a utility function to create and send transactions for the defined interactions.
* Utilize LiteSVM and Anchor for testing the carnival program's functionality.
* chore: update TypeScript configuration and import path
* Change module setting in tsconfig.json from "commonjs" to "nodenext" for improved module resolution.
* Update import statement in test.ts to include the file extension for Carnival type import.
* chore: add litesvm dependency to anchor package.json and update pnpm-lock.yaml
* Added litesvm version 0.4.0 to dependencies in package.json.
* Updated pnpm-lock.yaml to include litesvm and its associated packages for various platforms.
* chore: remove deprecated bankrun test file and related packages1 parent 2212a32 commit d9ff6d8
File tree
6 files changed
+346
-197
lines changed- basics/repository-layout/anchor
- tests
6 files changed
+346
-197
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.
0 commit comments