Skip to content

Commit 591066b

Browse files
committed
feat: standardize test command
1 parent 39925de commit 591066b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Anchor.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ cluster = "localnet"
1818
wallet = "~/.config/solana/id.json"
1919

2020
[scripts]
21-
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
21+
test = "pnpm ts-mocha --no-experimental-strip-types -p ./tsconfig.json -t 1000000 tests/**/*.ts"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"scripts": {
44
"lint:fix": "prettier */*.ts \"*/**/*{.js,.ts}\" -w",
55
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check",
6-
"test": "anchor build -- --features local && yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/test_*/*.test.ts"
6+
"test": "anchor build -- --features local && ts-mocha --no-experimental-strip-types -p ./tsconfig.json -t 1000000 tests/**/*.ts"
77
},
88
"dependencies": {
99
"@coral-xyz/anchor": "^0.31.1",

0 commit comments

Comments
 (0)