Skip to content

Commit

Permalink
feat: add run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ifelsedeveloper committed Oct 24, 2024
1 parent 029e233 commit 831eb1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url = "https://api.apr.dev"

[provider]
cluster = "Localnet"
wallet = "usb://ledger"
wallet = "~/.config/solana/id.json"

[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 test/tests/**/*.ts"
Expand All @@ -25,7 +25,7 @@ upgradeable = false

[test.validator]
bind_address = "0.0.0.0"
url = "https://api.mainnet-beta.solana.com"
url = "https://api.devnet.solana.com"
ledger = ".anchor/test-ledger"
rpc_port = 8899

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build-interfaces": "cd packages/libreplex-idls && yarn package && yarn build && cd .. && cd libreplex-sdk && yarn build && cd ../..",
"build": "lerna run clean && lerna run build",
"libre-cli": "ts-node src/cli/index.ts",
"test": "anchor test",

"libreplex_editions:deploy-dev:solana-dev-net": "anchor build -p libreplex_editions && anchor deploy -p libreplex_editions --provider.cluster https://api.devnet.solana.com --provider.wallet ~/.config/solana/id.json",
"libreplex_editions_controls:deploy-dev:solana-dev-net": "anchor build -p libreplex_editions_controls && anchor deploy -p libreplex_editions_controls --provider.cluster https://api.devnet.solana.com --provider.wallet ~/.config/solana/id.json",
Expand Down

0 comments on commit 831eb1f

Please sign in to comment.