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:
parent
428570440f
commit
94d0a7bc38
@ -102,11 +102,12 @@ npm start
|
|||||||
|
|
||||||
### Unit Tests
|
### 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
|
```bash
|
||||||
npm i -g ganache-cli
|
npm i -g ganache-cli
|
||||||
ganache-cli
|
ganache-cli --port 18545
|
||||||
|
export ETH_PORT=18545
|
||||||
```
|
```
|
||||||
|
|
||||||
To start unit tests, run:
|
To start unit tests, run:
|
||||||
|
Loading…
Reference in New Issue
Block a user