Update package.json to use anchor test for yarn test (#78)
This commit is contained in:
parent
9a7386be60
commit
277e4ff7c8
|
@ -23,6 +23,14 @@ yarn add "decimal.js"
|
||||||
|
|
||||||
Read instructions on how to use the SDK on the [Orca Developer Portal](https://orca-so.gitbook.io/orca-developer-portal/orca/welcome).
|
Read instructions on how to use the SDK on the [Orca Developer Portal](https://orca-so.gitbook.io/orca-developer-portal/orca/welcome).
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
To run tests for the SDK, setup your anchor environment and run:
|
||||||
|
|
||||||
|
```
|
||||||
|
anchor test
|
||||||
|
```
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
[Apache 2.0](https://choosealicense.com/licenses/apache-2.0/)
|
[Apache 2.0](https://choosealicense.com/licenses/apache-2.0/)
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
"watch": "tsc -w -p src",
|
"watch": "tsc -w -p src",
|
||||||
"prepublishOnly": "yarn build",
|
"prepublishOnly": "yarn build",
|
||||||
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
||||||
"test": "jest",
|
"test": "anchor test",
|
||||||
"docs": "npx typedoc --options typedoc.json"
|
"docs": "npx typedoc --options typedoc.json"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
|
|
Loading…
Reference in New Issue