diff --git a/README.md b/README.md index a7a75fdba..acd159c73 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 ``` diff --git a/packages/thegraph-data-access/package.json b/packages/thegraph-data-access/package.json index 63499bb2a..e6d4d5fcb 100644 --- a/packages/thegraph-data-access/package.json +++ b/packages/thegraph-data-access/package.json @@ -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": {