Skip to content

Commit

Permalink
test wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
jjmatcha committed Dec 1, 2021
1 parent af10800 commit 00bb658
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ url = "https://anchor.projectserum.com"

[provider]
cluster = "localnet"
wallet = "~/.config/solana/id.json"
wallet = "./test_wallet.json"

[scripts]
test = "yarn mocha src/tests/**/*.spec.ts"
test = "yarn mocha"

[programs.localnet]
cpamm = "SCHAtsf8mbjyjiv4LkhLKutTf6JnZAbdJKFkXQNMFHZ"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"idl:generate:nolint": "./scripts/parse-idls.sh && RUN_ESLINT=none ./scripts/generate-idl-types.sh",
"lint": "eslint --cache .",
"lint:ci": "eslint . --max-warnings=0",
"test:e2e": "anchor test --skip-build",
"test:e2e": "anchor test --skip-build src/tests/**/*.spec.ts",
"prepare": "husky install",
"docs:generate": "typedoc --excludePrivate --includeVersion --out site/ src/index.ts"
},
Expand Down
6 changes: 6 additions & 0 deletions test_wallet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
210, 111, 109, 156, 19, 96, 253, 18, 250, 36, 174, 54, 144, 253, 151, 69, 109,
171, 178, 234, 177, 76, 234, 80, 247, 28, 110, 22, 70, 69, 192, 106, 7, 4,
103, 32, 43, 163, 197, 50, 24, 172, 109, 185, 192, 17, 87, 105, 26, 137, 40,
202, 68, 164, 37, 212, 146, 142, 158, 33, 14, 249, 26, 150
]
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@

"noEmit": true
},
"include": ["src/**/*.ts", "tests/**/*.ts"]
"include": ["src/**/*.ts"]
}

0 comments on commit 00bb658

Please sign in to comment.