Skip to content
Closed
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ yarn run lint

### Test

Install [Docker Engine](https://docs.docker.com/engine/install/)

Disable API tests OR define all required explorer API keys.

```bash
Expand All @@ -93,7 +95,22 @@ export EXPLORER_API_KEY_FANTOM=

Test all the packages in the monorepo.

In one terminal, run ganache.

```bash
yarn workspace @requestnetwork/smart-contracts ganache
```

In another terminal, run IPFS with docker

```bash
sudo docker run requestnetwork/request-ipfs
```

In another terminal, deploy smart contracts and run tests

```bash
yarn workspace @requestnetwork/smart-contracts run deploy
yarn run test
```

Expand Down
2 changes: 1 addition & 1 deletion packages/thegraph-data-access/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"lint": "eslint . --fix",
"lint:check": "eslint .",
"prepare": "yarn run build",
"test": "jest",
"test": "jest --passWithNoTests",
"test:watch": "yarn test --watch"
},
"dependencies": {
Expand Down