Add comment about tests

This commit is contained in:
Christian Melchior 2018-05-16 14:09:17 +02:00
parent 223b1fa07e
commit 7246427f32
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 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. You will need yarn installed on the machine.
`test.sh` options `test.sh` options