update unit tests instructions

This commit is contained in:
Matthias Kretschmann 2019-10-31 14:41:07 +01:00
parent 428570440f
commit 94d0a7bc38
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 3 additions and 2 deletions

View File

@ -102,11 +102,12 @@ npm start
### Unit Tests
For unit tests, running [`ganache-cli`](https://github.com/trufflesuite/ganache-cli) is required before starting the tests:
For unit tests, running [`ganache-cli`](https://github.com/trufflesuite/ganache-cli) is required before starting the tests. It's best to start it on a different port so it doesn't clash with anything running in Barge:
```bash
npm i -g ganache-cli
ganache-cli
ganache-cli --port 18545
export ETH_PORT=18545
```
To start unit tests, run: