Merge pull request #1798 from realm/cm/update-docs

Add comment about tests
This commit is contained in:
Kenneth Geisshirt 2018-05-16 14:48:45 +02:00 committed by GitHub
commit faa0ed304b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -90,7 +90,14 @@ Some users have reported the Chrome debugging being too slow to use after integr
You will need to install `nvm` to run the tests. Currently it is only possible to test using node 6, so please `nvm install 6.11.3`.
You can use `scripts/test.sh` to run the various tests.
The tests will spawn a new shell when running, so you need to make sure that new shell instances use the correct version of `npm`. On Mac you can add the following to your prefered shell setup:
```
export NVM_DIR="$HOME/.nvm"
. "$(brew --prefix nvm)/nvm.sh"
```
You can now use `scripts/test.sh` to run the various tests.
You will need yarn installed on the machine.
`test.sh` options