Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line numberDiff line numberDiff 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 numberDiff line numberDiff 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