Skip to content

Commit 35d4654

Browse files
committed
Review format & wording
1 parent 0be7aeb commit 35d4654

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

components/pryv/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -696,19 +696,17 @@ just test <component> [...params]
696696
- Extra parameters at the end are passed on to [Mocha](https://mochajs.org/) (default settings are defined in `.mocharc.js` files)
697697
- Replace `test` with `test-debug`, `test-cover` for common presets
698698

699-
By default tests are done against [Pryv Lab](https://www.pryv.com/pryvlab/) with serviceInfo Url `https://reg.pryv.me/service/info`.
699+
By default, tests are run against [Pryv Lab](https://www.pryv.com/pryvlab/) with service information URL `https://reg.pryv.me/service/info`.
700700

701-
To run test suite against another Pryv instance use `TEST_PRYVLIB_SERVICEINFO_URL` environement variable.
701+
To run the tests against another Pryv.io platform, set the `TEST_PRYVLIB_SERVICEINFO_URL` environment variable; for example:
702702

703-
Exemple:
704-
```
703+
```bash
705704
TEST_PRYVLIB_SERVICEINFO_URL="https://reg.${DOMAIN}/service/info" just test all
706705
```
707706

708-
To test **in-development** api-server components, e.g. Open-Source or Entreprise. `TEST_PRYVLIB_DNSLESS_URL` may be used.
707+
To run the tests against _in-development_ API server components (e.g. open-source or Entreprise), set `TEST_PRYVLIB_DNSLESS_URL`; for example:
709708

710-
Exemple:
711-
```
709+
```bash
712710
TEST_PRYVLIB_DNSLESS_URL="http://l.rec.la:3000/ just test all
713711
```
714712

components/pryv/src/ServiceAssets.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ServiceAssets {
3636

3737
/**
3838
* get a value from path separated by `:`
39-
* exemple of key `lib-js:buttonSignIn`
39+
* example of key `lib-js:buttonSignIn`
4040
* @param {string} [keyPath] if null, will return the all assets
4141
*/
4242
get (keyPath) {
@@ -53,7 +53,7 @@ class ServiceAssets {
5353
/**
5454
* get an Url from path separated by `:`
5555
* identical to doing assets.relativeURL(assets.get(keyPath))
56-
* exemple of key `lib-js:buttonSignIn`
56+
* example of key `lib-js:buttonSignIn`
5757
* @param {string} [keyPath] if null, will return the all assets
5858
*/
5959
getUrl (keyPath) {

0 commit comments

Comments
 (0)