valence-connect
Version:
Connect to Valence for requests coming from applications running in the Valence Portal
13 lines (10 loc) • 483 B
Markdown
## Tests
[node-tap](https://www.npmjs.com/package/tap)
To run the example services test issue the below command passing a valid session id. You can get a valid session id by logging into the Valence Portal and launching developer tools. Once developer tools is launched go to the console and run `Valence.util.Helper.getSid()`. That will return your current session id.
```sh
$ session=CURRENTSESSIONID npm start
```
On Windows
```sh
> set session=CURRENTSESSIONID & npm start
```