Skip to content

Commit d0aa2c0

Browse files
committed
feat: update Anchor.toml with litesvm test scripts and add litesvm
1 parent a631aa4 commit d0aa2c0

File tree

2 files changed

+164
-1
lines changed

2 files changed

+164
-1
lines changed

basics/account-data/anchor/Anchor.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ cluster = "Localnet"
1313
wallet = "~/.config/solana/id.json"
1414

1515
[scripts]
16-
test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
16+
test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts" #For all test
17+
#test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/test.ts" #For specific anchor test
18+
bankrun-test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/bankrun.test.ts" #For bankrun test
19+
litesvm-test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/litesvm.test.ts" #For litesvm test

basics/account-data/anchor/pnpm-lock.yaml

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

0 commit comments

Comments
 (0)