diff --git a/sdk/README.md b/sdk/README.md index c4c2555..a69f320 100644 --- a/sdk/README.md +++ b/sdk/README.md @@ -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). +## Tests + +To run tests for the SDK, setup your anchor environment and run: + +``` +anchor test +``` + # License [Apache 2.0](https://choosealicense.com/licenses/apache-2.0/) diff --git a/sdk/package.json b/sdk/package.json index be8c7fc..f1a3531 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -35,7 +35,7 @@ "watch": "tsc -w -p src", "prepublishOnly": "yarn build", "prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write", - "test": "jest", + "test": "anchor test", "docs": "npx typedoc --options typedoc.json" }, "lint-staged": {