diff --git a/README.md b/README.md index bad3c8f..d42abef 100644 --- a/README.md +++ b/README.md @@ -156,9 +156,15 @@ docker buildx build --platform linux/amd64,linux/arm64 --push -t verida/storage- Run tests with `yarn run tests` -Note: The tests in `server.js` require the server to be running locally. The other tests operate fine without the server running. - Common issues when running tests: 1. `Bad key`: The key in CouchDB configuration for `jwt_keys/hmac:_default` is not a valid Base64 encoded key 2. `HMAC error`: The key in CouchDB configuration for `jwt_keys/hmac:_default` does not match `ACCESS_JWT_SIGN_PK` in `.env` + + +## Testing a deplyed node + +To test a deployed node, do the following + +* Modify `tests/config.js` with the correct endpoint URLs +* Run `yarn test tests/server.js` \ No newline at end of file