1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

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

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: